Added some temp debug code

This commit is contained in:
jeancf 2022-11-14 12:26:55 +01:00
parent 608bc7519f
commit 514a1b3304

View File

@ -454,6 +454,8 @@ def main(argv):
# Check it the tweet is a retweet from somebody else # Check it the tweet is a retweet from somebody else
if len(status.select("div.tweet-body > div > div.retweet-header")) != 0: if len(status.select("div.tweet-body > div > div.retweet-header")) != 0:
# TEMP DEBUG
login.debug("retweet DIV found in " + status)
tweet_text = 'RT from ' + author + ' (@' + author_account + ')\n\n' tweet_text = 'RT from ' + author + ' (@' + author_account + ')\n\n'
# extract iterator over tweet text contents # extract iterator over tweet text contents