Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix picture support on redgifs (it's a gif site, why does it have images?)

Jules-WinnfieldXfb513d7fb786
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 58b6ead34..a936fa0d7 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "4.2.138"
+__version__ = "4.2.139"
diff --git a/cyberdrop_dl/crawlers/RedGifs_Spider.py b/cyberdrop_dl/crawlers/RedGifs_Spider.py
index 8c04956f3..78a2ebfda 100644
--- a/cyberdrop_dl/crawlers/RedGifs_Spider.py
+++ b/cyberdrop_dl/crawlers/RedGifs_Spider.py
@@ -39,6 +39,7 @@ class RedGifsCrawler:
async with self.limiter:
id = url.parts[-1] if url.parts[-1] != "" else url.parts[-2]
+ id = id.split(".")[0]
json_obj = await session.get_json(self.redgifs_api / "v2/gifs" / id, headers_inc=self.headers)
links = json_obj["gif"]["urls"]
if "hd" in links: