mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 14:01:13 +00:00
Removed brackets from timestamp
This commit is contained in:
parent
1faf11222d
commit
7528afaff9
4
twoot.py
4
twoot.py
|
@ -43,7 +43,7 @@ HTTPS_REQ_TIMEOUT = 10
|
||||||
|
|
||||||
NITTER_URLS = [
|
NITTER_URLS = [
|
||||||
'https://canada.unofficialbird.com/', # New 11/07/2023
|
'https://canada.unofficialbird.com/', # New 11/07/2023
|
||||||
'https://nederland.unofficialbird.com/', # New 11/07/2023
|
'https://nederland.unofficialbird.com/', # New 11/07/2023
|
||||||
'https://nitter.lacontrevoie.fr',
|
'https://nitter.lacontrevoie.fr',
|
||||||
'https://nitter.cutelab.space', # USA, added 16/02/2023
|
'https://nitter.cutelab.space', # USA, added 16/02/2023
|
||||||
'https://nitter.weiler.rocks', # added 15/06/2023
|
'https://nitter.weiler.rocks', # added 15/06/2023
|
||||||
|
@ -1010,7 +1010,7 @@ def main(argv):
|
||||||
timestamp_display = pytz.utc.localize(timestamp).astimezone(timezone_display)
|
timestamp_display = pytz.utc.localize(timestamp).astimezone(timezone_display)
|
||||||
logging.debug("Timestamp converted " + str(timestamp_display))
|
logging.debug("Timestamp converted " + str(timestamp_display))
|
||||||
|
|
||||||
tweet_text += ' (' + datetime.strftime(timestamp_display, TOML['options']['tweet_time_format']) + ')'
|
tweet_text += ' ' + datetime.strftime(timestamp_display, TOML['options']['tweet_time_format'])
|
||||||
|
|
||||||
# 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