Skip to content

Bulk asynchronous downloader for multiple file hosts

added basic unsupported urls output to text file.

Jules-WinnfieldX69fec7422bfc
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 0756fdd46..8d9b6c290 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -22,4 +22,7 @@ Removed title tags from thotsbay folder names.
Added --ignore-history flag and separated SQL into its own helper class.
2.16.8
-added --separate-posts to separate each thotsbay post into it's own folder (request).
\ No newline at end of file
+added --separate-posts to separate each thotsbay post into it's own folder (request).
+
+2.16.9
+added basic unsupported urls output to text file.
\ No newline at end of file
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index c72fa46f6..0dc8a77e3 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "2.16.8"
+__version__ = "2.16.9"
diff --git a/cyberdrop_dl/utils/scraper_helper.py b/cyberdrop_dl/utils/scraper_helper.py
index 3123ca34d..1ded4efa6 100644
--- a/cyberdrop_dl/utils/scraper_helper.py
+++ b/cyberdrop_dl/utils/scraper_helper.py
@@ -1,3 +1,4 @@
+import aiofiles
from yarl import URL
from .crawlers.Anonfiles_Spider import AnonfilesCrawler
@@ -88,3 +89,5 @@ class ScrapeMapper():
await value(url=url_to_map, title=title)
return
await log(str(url_to_map) + " is not supported currently.")
+ async with aiofiles.open("./Unsupported_Urls.txt", mode='a') as f:
+ await f.write(str(url_to_map)+"\n")