mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-12-18 08:10:21 +00:00
Adjusted nitter sites
This commit is contained in:
parent
735503c1b1
commit
2a63371336
8
twoot.py
8
twoot.py
|
@ -37,14 +37,14 @@ 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',
|
# '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', # Stopped responding 07/10/2021
|
||||||
# 'https://nitter.cattube.org', # Certificate expired 06/10/2021
|
# 'https://nitter.cattube.org', # Certificate expired 06/10/2021
|
||||||
'https://nitter.mailstation.de',
|
# 'https://nitter.mailstation.de', # Unreliable
|
||||||
'https://nitter.eu',
|
'https://nitter.eu',
|
||||||
'https://nitter.unixfox.eu', # Unreliable
|
# '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/
|
||||||
|
@ -277,7 +277,7 @@ def main(argv):
|
||||||
# Setup logging to file
|
# Setup logging to file
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
filename=twit_account + '.log',
|
filename=twit_account + '.log',
|
||||||
level=logging.INFO,
|
level=logging.WARN,
|
||||||
format='%(asctime)s %(levelname)-8s %(message)s',
|
format='%(asctime)s %(levelname)-8s %(message)s',
|
||||||
datefmt='%Y-%m-%d %H:%M:%S',
|
datefmt='%Y-%m-%d %H:%M:%S',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user