mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Added some temp debug code
This commit is contained in:
parent
608bc7519f
commit
514a1b3304
2
twoot.py
2
twoot.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user