Skip to content

Bulk asynchronous downloader for multiple file hosts

Test commit

Jules-WinnfieldXd4faf27d9305
diff --git a/cyberdrop_dl/utils/downloaders.py b/cyberdrop_dl/utils/downloaders.py
index d765c91e1..880d13b5b 100644
--- a/cyberdrop_dl/utils/downloaders.py
+++ b/cyberdrop_dl/utils/downloaders.py
@@ -118,7 +118,8 @@ class Downloader:
show_progress: bool = True
) -> None:
"""Download the content of given URL"""
- user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36'
+ user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ' \
+ 'Chrome/97.0.4692.71 Safari/537.36'
headers = {'Referer': referral, 'user-agent': user_agent}
ssl_context = ssl.create_default_context(cafile=certifi.where())