Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix Kemono, add psd support under "Other"

Jules-WinnfieldX45715798b1e7
diff --git a/README.md b/README.md
index 998e8cba7..765a3009b 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# `cyberdrop-dl`
**Bulk downloader for multiple file hosts**
-The latest version of the program is 3.4.16
+The latest version of the program is 3.4.17
<a href="https://www.buymeacoffee.com/juleswinnft" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index e96c6b387..a9caa2cf6 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "3.4.16"
+__version__ = "3.4.17"
diff --git a/cyberdrop_dl/base_functions/base_functions.py b/cyberdrop_dl/base_functions/base_functions.py
index a8ad75a36..0fb060d72 100644
--- a/cyberdrop_dl/base_functions/base_functions.py
+++ b/cyberdrop_dl/base_functions/base_functions.py
@@ -31,7 +31,7 @@ FILE_FORMATS = {
'.mp3', '.flac', '.wav', '.m4a'
},
'Other': {
- '.json', '.torrent', '.zip', '.rar', '.7z', '.torrent'
+ '.json', '.torrent', '.zip', '.rar', '.7z', '.torrent', '.psd'
}
}
diff --git a/cyberdrop_dl/crawlers/Kemono_Spider.py b/cyberdrop_dl/crawlers/Kemono_Spider.py
index 3969bd47c..4b0e8eb82 100644
--- a/cyberdrop_dl/crawlers/Kemono_Spider.py
+++ b/cyberdrop_dl/crawlers/Kemono_Spider.py
@@ -40,7 +40,7 @@ class KemonoCrawler:
title = title + " (Kemono.party)"
results = []
- posts = soup.select("a[class=fancy-link]")
+ posts = soup.select('article[class="post-card post-card--preview"] a')
for post in posts:
path = post.get('href')
if path:
@@ -70,7 +70,7 @@ class KemonoCrawler:
else:
title = await make_title_safe(soup.select_one("h1[class=post__title]").text.replace('\n', '').replace("..", ""))
- images = soup.select('a[class="fileThumb"]')
+ images = soup.select('a[class="fileThumb image-link"]')
for image in images:
image_link = URL("https://kemono.party" + image.get('href'))
results.append([title, image_link, url])