mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 05:08:28 +03:00
Implementing ruff suggestions.
This commit is contained in:
@@ -46,7 +46,7 @@ class TwitterApiExtractor(Extractor):
|
||||
r = requests.get(url, timeout=30)
|
||||
logger.debug(f"Expanded url {url} to {r.url}")
|
||||
url = r.url
|
||||
except:
|
||||
except Exception:
|
||||
logger.error(f"Failed to expand url {url}")
|
||||
return url
|
||||
|
||||
|
||||
Reference in New Issue
Block a user