From f881b46454926e165d6975347ee0e2008064d1f5 Mon Sep 17 00:00:00 2001 From: jeancf Date: Sun, 11 Dec 2022 21:57:10 +0100 Subject: [PATCH] Quick fix of log issue --- twoot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/twoot.py b/twoot.py index ec44deb..8480dd4 100755 --- a/twoot.py +++ b/twoot.py @@ -735,10 +735,10 @@ def main(argv): soup = BeautifulSoup(twit_account_page.text, 'html.parser') # Replace twitter_account with version with correct capitalization - ta = soup.find('meta', property='og:title').get('content') - ta_match = re.search(r'\(@(.+)\)', ta) - if ta_match is not None: - TOML['config']['twitter_account'] = ta_match.group(1) + # ta = soup.find('meta', property='og:title').get('content') + # ta_match = re.search(r'\(@(.+)\)', ta) + # if ta_match is not None: + # TOML['config']['twitter_account'] = ta_match.group(1) # Extract twitter timeline timeline = soup.find_all('div', class_='timeline-item')