mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Test further
This commit is contained in:
parent
23d897f42c
commit
b5f6405ceb
4
twoot.py
4
twoot.py
|
@ -981,8 +981,8 @@ def main(argv):
|
||||||
tweet_text += '\n\nOriginal tweet: ' + substitute_source(full_status_url)
|
tweet_text += '\n\nOriginal tweet: ' + substitute_source(full_status_url)
|
||||||
|
|
||||||
# Check what timestamp would look like
|
# Check what timestamp would look like
|
||||||
logging.debug("TEST TIMESTAMP")
|
logging.debug("TEST TIMESTAMP " + str(time_string))
|
||||||
logging.debug(tweet_text + ' (' + time_string + ')')
|
logging.debug(tweet_text + ' (' + datetime.strftime(timestamp, '%d %b %Y %H:%M %Z') + ')')
|
||||||
|
|
||||||
# If no media was specifically added in the tweet, try to get the first picture
|
# If no media was specifically added in the tweet, try to get the first picture
|
||||||
# with "twitter:image" meta tag in first linked page in tweet text
|
# with "twitter:image" meta tag in first linked page in tweet text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user