Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.52k stars 216 forks source link

Zerochan doesn't work. #482

Closed Lywzc closed 8 years ago

Lywzc commented 8 years ago

It downloads s3.zerochan.net while it should download static.zerochan.net.

Bionus commented 8 years ago

What's the problem with it? The server used (s1 to s7) is decided when the page is loaded and is not fixed by Grabber. And it shouldn't make any real difference as images are available on all of them.

However, if by "not working" you meant that all files were downloaded as something such as ".jpg" (with no filename), make sure you don't use %md5%, %date%, or that kind of token, since they are not supported by Zerochan.

Lywzc commented 8 years ago

When it downloads s3.zerochan.net, there is nothing. That means, it will downloads the sample rather than the full image, and when I paste the URL it returns 404. I download 79 images, only one image is full and others are all samples. For example http://s3.zerochan.net/Reimia.full.246888.jpg. This returns 404, but if you replace 3 with 2 or 4 it works. But I don't know why the software downloads 3. However, http://s3.zerochan.net/Monobeno.full.1814932.jpg do work, and this is the only full image I downloaded yesterday. Also I use %filename%. That should work. There is an image but I can't upload it:(

Bionus commented 8 years ago

Indeed, that happens for some old images or some who have a certain set of tags, requiring to log in to load the image's details.

To replace all the s1/s2/etc into static, you should replace the model.xml file located in "%localappdata%/Bionus/Grabber/sites/Zerochan" by the one here.

Lywzc commented 8 years ago

It works now. Thanks!