mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-03-27 07:56:48 +00:00
Clarified info and updated nitter sites
This commit is contained in:
parent
2a63371336
commit
65d91bf025
10
twoot.py
10
twoot.py
@ -37,14 +37,12 @@ import shutil
|
|||||||
NITTER_URLS = [
|
NITTER_URLS = [
|
||||||
'https://nitter.42l.fr',
|
'https://nitter.42l.fr',
|
||||||
'https://nitter.pussthecat.org',
|
'https://nitter.pussthecat.org',
|
||||||
# 'https://nitter.nixnet.services', # Requires login 31/12/2021
|
|
||||||
'https://nitter.fdn.fr',
|
'https://nitter.fdn.fr',
|
||||||
'https://nitter.eu',
|
'https://nitter.eu',
|
||||||
# 'https://nitter.namazso.eu', # Stopped responding 07/10/2021
|
'https://nitter.namazso.eu',
|
||||||
# 'https://nitter.cattube.org', # Certificate expired 06/10/2021
|
'https://nitter.actionsack.com',
|
||||||
# 'https://nitter.mailstation.de', # Unreliable
|
'https://nittereu.moomoo.me',
|
||||||
'https://nitter.eu',
|
'https://nitter.eu',
|
||||||
# 'https://nitter.unixfox.eu', # Unreliable
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Update from https://www.whatismybrowser.com/guides/the-latest-user-agent/
|
# Update from https://www.whatismybrowser.com/guides/the-latest-user-agent/
|
||||||
@ -339,7 +337,7 @@ def main(argv):
|
|||||||
logging.fatal('The Nitter page did not download correctly from ' + url + '. Aborting')
|
logging.fatal('The Nitter page did not download correctly from ' + url + '. Aborting')
|
||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
logging.info('Nitter page downloaded successfully')
|
logging.info('Nitter page downloaded successfully from ' + url)
|
||||||
|
|
||||||
# DEBUG: Save page to file
|
# DEBUG: Save page to file
|
||||||
#of = open(twit_account + '.html', 'w')
|
#of = open(twit_account + '.html', 'w')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user