mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
10.74k stars 883 forks source link

Bunkr no longer working #4514

Closed misobarisic closed 9 months ago

misobarisic commented 10 months ago

[gallery-dl][debug] Version 1.25.8 [gallery-dl][debug] Python 3.11.5 - Linux-6.4.15-lqx1-2-lqx-x86_64-with-glibc2.38 [gallery-dl][debug] requests 2.31.0 - urllib3 2.0.4 [gallery-dl][debug] Configuration Files [] [gallery-dl][debug] Starting DownloadJob for 'https://bunkrr.su/a/$xyz' [bunkr][debug] Using BunkrAlbumExtractor for 'https://bunkrr.su/a/$xyz' [urllib3.connectionpool][debug] Starting new HTTPS connection (1): bunkrr.su:443 [urllib3.connectionpool][debug] https://bunkrr.su:443 "GET /a/$xyz HTTP/1.1" 200 None [urllib3.connectionpool][debug] https://bunkrr.su:443 "GET /d/edC08b8Zh3ven HTTP/1.1" 200 None [bunkr][error] An unexpected error occurred: ValueError - substring not found. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues . [bunkr][debug] Traceback (most recent call last): File "$WHATEVER/venv/lib/python3.11/site-packages/gallery_dl/job.py", line 96, in run for msg in extractor: File "$WHATEVER/venv/lib/python3.11/site-packages/gallery_dl/extractor/lolisafe.py", line 56, in items files, data = self.fetch_album(self.album_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "$WHATEVER/venv/lib/python3.11/site-packages/gallery_dl/extractor/bunkr.py", line 89, in fetch_album cdn = cdn[:cdn.index("/", 8)] ^^^^^^^^^^^^^^^^^ ValueError: substring not found

tonkatsu1 commented 9 months ago

Same

Yakabuff commented 9 months ago

Working on a fix

sixinchfootlong commented 9 months ago

I've opened my own PR with a proposed fix.
To test it, I created a test album with a bunch of different media types and file names: https://bunkrr.su/a/PoXwD1oA (safe for work)