Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix non-english chars in urls.txt

Jules-WinnfieldX751ac3b7373d
diff --git a/cyberdrop_dl/main.py b/cyberdrop_dl/main.py
index 0a6e23240..126f976c3 100644
--- a/cyberdrop_dl/main.py
+++ b/cyberdrop_dl/main.py
@@ -60,7 +60,7 @@ async def download_all(args: argparse.Namespace):
links = args.links
links = list(map(URL, links))
- with open(input_file, "r") as f:
+ with open(input_file, "r", encoding="utf8") as f:
links += await regex_links(f.read())
thotsbay_auth = AuthData(args.thotsbay_username, args.thotsbay_password)
content_object = await scrape(links, args.include_id, thotsbay_auth, args.separate_posts)