imgbrd-grabber icon indicating copy to clipboard operation
imgbrd-grabber copied to clipboard

[Zerochan] Webp isn't attempted in URLs images are captured from

Open aeriessy opened this issue 1 year ago • 0 comments

Bug description

Not using the correct extension in the URL. Results in a "404 Not Found".

Steps to reproduce

  1. Search "CLAMP".
  2. Download All.
  3. It should stop at image 22

Expected behavior

Keep downloading all of the images. I believe it's because the program isn't checking for "webp" extensions in the URL, which works.

https://static.zerochan.net/full/34/32/3869134.jpg doesn't work https://static.zerochan.net/full/34/32/3869134.webp does work but it's not one of the extensions attempted.

Context

[11:12:16.903][Info] Loading and saving image from https://static.zerochan.net/full/34/32/3869134.jpg in H:\Grabber\3869134.jpg [11:12:18.995][Info] Image not found. New try with extension png (https://static.zerochan.net/full/34/32/3869134.png)... [11:12:20.997][Info] Image not found. New try with extension gif (https://static.zerochan.net/full/34/32/3869134.gif)... [11:12:23.005][Info] Image not found. New try with extension jpeg (https://static.zerochan.net/full/34/32/3869134.jpeg)... [11:12:25.014][Info] Image not found. New try with extension webm (https://static.zerochan.net/full/34/32/3869134.webm)... [11:12:27.015][Info] Image not found. New try with extension swf (https://static.zerochan.net/full/34/32/3869134.swf)... [11:12:29.017][Info] Image not found. New try with extension mp4 (https://static.zerochan.net/full/34/32/3869134.mp4)... [11:12:31.017][Warning] Image not found. New try with its sample (https://static.zerochan.net/full/34/32/3869134.jpg)... [11:12:32.988][Info] Image not found. [11:12:32.990][Info] Loading image from https://static.zerochan.net/full/33/32/3869133.jpg 1 [11:12:32.990][Info] Loading and saving image from https://static.zerochan.net/full/33/32/3869133.jpg in H:\Grabber\3869133.jpg

System information

  • OS: Windows 10
  • Grabber version: 7.11.2

I see the issue, but I don't have experience on how to find where this functionality is captured and building(?) programs (I'm use to the executable). Thank you in advance!

aeriessy avatar Aug 13 '23 15:08 aeriessy