Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: clips downloads (Twitch)
NTFSvolume604ecd333025
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c58e25de0..e8227ba09 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -36,6 +36,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- `-i` is now an alias for `--input` instead of `--input-file`+### Fixed++- Clips downloads (Twitch)+## [10.6.1] - 2026-08-25### Changeddiff --git a/cyberdrop_dl/crawlers/twitch.py b/cyberdrop_dl/crawlers/twitch.pyindex f8c66eb90..046e64dc8 100644--- a/cyberdrop_dl/crawlers/twitch.py+++ b/cyberdrop_dl/crawlers/twitch.py@@ -158,7 +158,7 @@ class TwitchCrawler(Crawler):".mp4",file_id=slug,resolution=best.resolution,- audio_codec=f"{round(best.fps)}fps" if best.fps > 45 else None,+ fps=round(best.fps) if best.fps > 45 else None,)source = best.url.update_query(token=access_token["value"], sig=access_token["signature"])await self.handle_file(source, scrape_item, title, custom_filename=filename)@@ -232,7 +232,7 @@ class TwitchAPI(API):{"slug": slug,},- "0a02bb974443b576f5579aab0fef1d4b7f44e58a8a256f0c5adfead0db70640f",+ "2db6a3b20eabf510bd3cf465ae2408834b59eb6b8af89ca73ab1486cacecfb63",)clip = resp["data"]["clip"]if clip is None:diff --git a/tests/crawlers/test_cases/twitch.py b/tests/crawlers/test_cases/twitch.pyindex 382d27fa6..cc33a5af3 100644--- a/tests/crawlers/test_cases/twitch.py+++ b/tests/crawlers/test_cases/twitch.py@@ -4,8 +4,8 @@ TEST_CASES = ["url": "https://www.twitch.tv/fanfan/clip/GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM","results": [{- "url": "re:expires=",- "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][60fps][1080p].mp4",+ "url": "re:/index.mp4?token=",+ "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][1080p].mp4","debrid_url": None,"original_filename": "not scared btw","referer": "https://clips.twitch.tv/GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM",@@ -19,8 +19,8 @@ TEST_CASES = ["url": "https://clips.twitch.tv/GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM","results": [{- "url": "re:expires=",- "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][60fps][1080p].mp4",+ "url": "re:/index.mp4?token=",+ "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][1080p].mp4","referer": "https://clips.twitch.tv/GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM",}],@@ -29,8 +29,8 @@ TEST_CASES = ["url": "https://clips.twitch.tv/embed?clip=GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM","results": [{- "url": "re:/h0073-YuUM9o4kAK7QUTjA/AT-cm%7Ch0073-YuUM9o4kAK7QUTjA.mp4",- "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][60fps][1080p].mp4",+ "url": "re:/index.mp4?token=",+ "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][1080p].mp4","referer": "https://clips.twitch.tv/GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM",}],@@ -40,7 +40,7 @@ TEST_CASES = ["results": [{"url": "ANY",- "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][60fps][1080p].mp4",+ "filename": "not scared btw [GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM][1080p].mp4","referer": "https://clips.twitch.tv/GeniusDifficultSproutPhilosoraptor-5i5Qz2jiQArtBROM",}],@@ -61,21 +61,6 @@ TEST_CASES = [}],},- {- "url": "https://clips.twitch.tv/LitigiousNaiveReubenUWot-E0uuswUYOhs9htgV",- "results": [- {- "url": "ANY",- "filename": "IM GUNNA MAKE IT... [LitigiousNaiveReubenUWot-E0uuswUYOhs9htgV][60fps][1440p].mp4",- "debrid_url": None,- "original_filename": "IM GUNNA MAKE IT...",- "referer": "https://clips.twitch.tv/LitigiousNaiveReubenUWot-E0uuswUYOhs9htgV",- "album_id": None,- "uploaded_at": 1767765454,- "download_folder": "re:Loose Files (Twitch)",- }- ],- },{"url": "https://www.twitch.tv/collections/3d4MEgywDhcOUg?filter=collections","results": [