mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 14:01:13 +00:00
Not much
This commit is contained in:
parent
4200c12204
commit
a50a077cd3
3
twoot.py
3
twoot.py
|
@ -598,7 +598,7 @@ def process_media_body(tt_iter):
|
||||||
|
|
||||||
tweet_text += url
|
tweet_text += url
|
||||||
else:
|
else:
|
||||||
logging.warning("No handler for tag in twitter text: " + tag.prettify())
|
logging.warning("No handler for tag %s in twitter text: ", tag.prettify())
|
||||||
|
|
||||||
return tweet_text
|
return tweet_text
|
||||||
|
|
||||||
|
@ -954,7 +954,6 @@ def main(argv):
|
||||||
# Select random nitter instance to fetch updates from
|
# Select random nitter instance to fetch updates from
|
||||||
nitter_url = 'https://' + TOML['options']['nitter_instances'][random.randint(0, len(TOML['options']['nitter_instances']) - 1)]
|
nitter_url = 'https://' + TOML['options']['nitter_instances'][random.randint(0, len(TOML['options']['nitter_instances']) - 1)]
|
||||||
|
|
||||||
|
|
||||||
# Load twitter page of user
|
# Load twitter page of user
|
||||||
soup, timeline = get_timeline(nitter_url)
|
soup, timeline = get_timeline(nitter_url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user