console print-out changes
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ async def get_cross_talent_tweets(queue_path):
|
|||||||
print('Pulling tweets from online!')
|
print('Pulling tweets from online!')
|
||||||
try:
|
try:
|
||||||
for i, (talent_id, talent_username) in enumerate(talent_lists.talents.items()):
|
for i, (talent_id, talent_username) in enumerate(talent_lists.talents.items()):
|
||||||
print(f'[{i+1}/{len(talent_lists.talents)}]{util.get_username(talent_id)}----------------------------')
|
print(f'[{i+1}/{len(talent_lists.talents)}] {talent_username}-----------------------------------')
|
||||||
try:
|
try:
|
||||||
# tweets = get_user_tweets(talent_id, since_timestamp=1663698621) # shorten test runs
|
# tweets = get_user_tweets(talent_id, since_timestamp=1663698621) # shorten test runs
|
||||||
tweets = get_user_tweets(talent_id, since_timestamp=finished_user_timestamps.get(talent_id, None))
|
tweets = get_user_tweets(talent_id, since_timestamp=finished_user_timestamps.get(talent_id, None))
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ async def create_ttweet_image(ttweet):
|
|||||||
)
|
)
|
||||||
except:
|
except:
|
||||||
print('unable to create tweet image')
|
print('unable to create tweet image')
|
||||||
|
traceback.print_exc()
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
print(f'successfully saved {img}')
|
print(f'successfully saved {img}')
|
||||||
|
|||||||
Reference in New Issue
Block a user