gallery-dl icon indicating copy to clipboard operation
gallery-dl copied to clipboard

Bunkr. URLs with cdn or cdn3 sends 404

Open GiganticThirstyHerald opened this issue 2 years ago • 2 comments

On latest release version (1.22.4)

  • All images which has cdn.bunkr.is or cdn3.bunkr.is in url sends 404
  • Vids with media-files.bunkr.is also sends 404

For images I've found quick fix is to replace cdn or cdn3 to cdn4 Same goes for vids, but with vids media-files3 and media-files4 both works

GiganticThirstyHerald avatar Jul 28 '22 07:07 GiganticThirstyHerald

I've manually changed here:
(url.replace("//cdn.", "//cdn3.", 1),) with (url.replace("//cdn.", "//cdn4.", 1),) and
"//media-files.bunkr.is/" with "//media-files4.bunkr.is/" and it worked https://github.com/mikf/gallery-dl/blob/0aa8345a137a0e1fa323356216726537d0bd539d/gallery_dl/extractor/bunkr.py#L49-L58

GiganticThirstyHerald avatar Jul 29 '22 05:07 GiganticThirstyHerald

Should be fixed in commit https://github.com/mikf/gallery-dl/commit/3f08a91131bb13e948f22a19d7d72d4ef6fdc972, but manually setting domain to app.bunkr.to is likely to still break, since their API doesn't return correct/usable results anymore.

mikf avatar Jul 31 '22 20:07 mikf