Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bunkr no longer working #4514

Closed
misobarisic opened this issue Sep 10, 2023 · 3 comments
Closed

Bunkr no longer working #4514

misobarisic opened this issue Sep 10, 2023 · 3 comments

Comments

@misobarisic
Copy link

[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
Copy link

Same

@Yakabuff
Copy link

Working on a fix

@sixinchfootlong
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants