Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix issue with no href in links for xenforo

Jules-WinnfieldX8fed97d7f956
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 3c78b728f..971652dc3 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "4.1.18"
+__version__ = "4.1.19"
diff --git a/cyberdrop_dl/crawlers/Xenforo_Spider.py b/cyberdrop_dl/crawlers/Xenforo_Spider.py
index 25d3b4d03..eb75929ea 100644
--- a/cyberdrop_dl/crawlers/Xenforo_Spider.py
+++ b/cyberdrop_dl/crawlers/Xenforo_Spider.py
@@ -203,6 +203,8 @@ class XenforoCrawler:
links = post_content.select(selector)
for link in links:
link = link.get(attribute)
+ if not link:
+ continue
if link.endswith("/"):
link = link[:-1]
if link.startswith('//'):