mirror of
https://github.com/timberjoegithub/GoogleScrape.git
synced 2026-07-22 00:19:48 +00:00
jj
This commit is contained in:
@@ -2450,7 +2450,7 @@ def process_socials(social_name,social_post,headers,sub_process,social_count, lo
|
|||||||
except AttributeError as error:
|
except AttributeError as error:
|
||||||
print(" An error occurred setting value to go into Excel file:", type(error)\
|
print(" An error occurred setting value to go into Excel file:", type(error)\
|
||||||
.__name__)
|
.__name__)
|
||||||
print (' Success Posting to xtwitter: '+social_post.name)
|
print (' Success Posting to : '+social_post.name)
|
||||||
if new_social_post:
|
if new_social_post:
|
||||||
social_count +=1
|
social_count +=1
|
||||||
try:
|
try:
|
||||||
@@ -2468,10 +2468,15 @@ def process_socials(social_name,social_post,headers,sub_process,social_count, lo
|
|||||||
except AttributeError as error:
|
except AttributeError as error:
|
||||||
print(" An error occurred writing database", type(error).__name__)
|
print(" An error occurred writing database", type(error).__name__)
|
||||||
except AttributeError as error:
|
except AttributeError as error:
|
||||||
|
# print(' Error writing social - ',social_name,' post : ',error,social_post.name,\
|
||||||
|
# social_post.comment, local_outputs,social_post.date, social_post.rating,\
|
||||||
|
# social_post.address, social_post.picsLocalpath, writtento[social_name],\
|
||||||
|
# type(error).__name__ )
|
||||||
print(' Error writing social - ',social_name,' post : ',error,social_post.name,\
|
print(' Error writing social - ',social_name,' post : ',error,social_post.name,\
|
||||||
social_post.comment, local_outputs,social_post.date, social_post.rating,\
|
|
||||||
social_post.address, social_post.picsLocalpath, writtento[social_name],\
|
|
||||||
type(error).__name__ )
|
type(error).__name__ )
|
||||||
|
# social_post.comment, local_outputs,social_post.date, social_post.rating,\
|
||||||
|
# social_post.address, social_post.picsLocalpath, writtento[social_name],\
|
||||||
|
# type(error).__name__ )
|
||||||
else:
|
else:
|
||||||
print (' Exceeded the number of social - ',social_name,' posts per run, skipping',\
|
print (' Exceeded the number of social - ',social_name,' posts per run, skipping',\
|
||||||
social_post.name)
|
social_post.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user