This commit is contained in:
jeancf 2023-07-19 18:31:50 +02:00
parent 4200c12204
commit a50a077cd3

View File

@ -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)