Bionus / imgbrd-grabber

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

Gelbooru not working at all #2506

Open Derasiel opened 3 years ago

Derasiel commented 3 years ago

Bug description

Basicly title, no matter what, I can't use gelbooru with grabber, I tried to install it again and doesn't change anything.

Steps to reproduce

  1. Select gelbooru
  2. Nothing appear

Expected behavior

Results from gelbooru displaying

Context

settings.ini: https://pastebin.com/1Tp47ULb main.log: https://pastebin.com/PiLKK3QJ (the word hentai has been replaced by "HNT")

System information

ghost commented 2 years ago

I'm using linux and having the same issue using the appimage. Is there a solution?

Barsanophious commented 2 years ago

Same issue using appimage in manjaro 21.2.1.

Bionus commented 2 years ago

It seems to be because the Gelbooru model file is not being overwritten in your config directory. You can try deleting it and see if it helps 👍

Derasiel commented 2 years ago

You can try deleting it and see if it helps 👍

I deleted the file "C:\Users****\AppData\Local\Bionus\Grabber\sites\Gelbooru (0.2)\model.js" (and also in Gelbooru (0.1) ) and now I can't select Gelbooru in the source list, it does not appear at all. So it does not help at all.

Any other idea ?

Bionus commented 2 years ago

My suggestion was for Linux AppImages 😄 On Windows, that should have been fixed in 7.7.1

Derasiel commented 2 years ago

Not fixed, I even installed it again, I uninstalled it with Revo Uninstaller so it should have been a clean new installation.

Bionus commented 2 years ago

QIODevice::read (QNetworkReplyHttpImpl): device not open Loading error: Connection timed out (99)

Is something up with your network? VPN, proxy, etc? Does Gelbooru work if you open it in a browser? 🤔

Derasiel commented 2 years ago

I don't use any proxy/VPN, I only changed my DNS to use cloudflare's one. Gelbooru works fine on any browser.

TogarUshindi commented 2 years ago

I am not sure if "Gelbooru not working at all" would be an apt description, but rather than risking making a duplicate issue, I wanted to quickly chime in and say the issue (possibly) may be occurring on the Grabber_v7.7.1-x86_64.AppImage as well. In my case, there are no results from Gelbooru. Settings were carried over from previous appimage, and the two lines indicative of a problem in main.log (maybe) were:

[13:08:07.854][Warning] [Qt][default] QIODevice::read (QNetworkReplyHttpImpl): device not open
[13:08:07.854][Warning] [gelbooru.com] Loading using Xml failed. Retry using Html.

The weird thing is that the tags on the left column show up, but the result thumbnails do not.

I tried changing the name of 'model.js' to '~model.js' in .config/Bionus/Grabber/sites/ for Gelbooru (1.0) and Gelbooru (2.0) but I'm experiencing the same result as Derasiel. Gelbooru disappears as a source.

If confirmed this is a different issue, I'll open a new one.

BruhMomient commented 1 year ago

Same issue here. On the source build on Manjaro, 7.9.1-3.

Here are the search logs:

[01:13:34.150][Info] Loading results...
[01:13:34.151][Info] [gelbooru.com][Html] Loading page [http://gelbooru.com/index.php?page=post&s=list&tags=1girl rating%3Ageneral&pid=0](http://gelbooru.com/index.php?page=post&s=list&tags=1girl%20rating%3Ageneral&pid=0)
[01:13:34.151][Info] [gelbooru.com][Xml] Loading page [http://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl rating%3Ageneral](http://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl%20rating%3Ageneral)
[01:13:34.175][Info] [gelbooru.com][Html] Receiving page [http://gelbooru.com/index.php?page=post&s=list&tags=1girl rating%3Ageneral&pid=0](http://gelbooru.com/index.php?page=post&s=list&tags=1girl%20rating%3Ageneral&pid=0)
[01:13:34.175][Info] [gelbooru.com][Html] Redirecting page [http://gelbooru.com/index.php?page=post&s=list&tags=1girl rating%3Ageneral&pid=0](http://gelbooru.com/index.php?page=post&s=list&tags=1girl%20rating%3Ageneral&pid=0) to [https://gelbooru.com/index.php?page=post&s=list&tags=1girl rating%3Ageneral&pid=0](https://gelbooru.com/index.php?page=post&s=list&tags=1girl%20rating%3Ageneral&pid=0)
[01:13:34.176][Info] [gelbooru.com][Html] Loading page [https://gelbooru.com/index.php?page=post&s=list&tags=1girl rating%3Ageneral&pid=0](https://gelbooru.com/index.php?page=post&s=list&tags=1girl%20rating%3Ageneral&pid=0)
[01:13:34.182][Info] [gelbooru.com][Xml] Receiving page [http://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl rating%3Ageneral](http://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl%20rating%3Ageneral)
[01:13:34.183][Info] [gelbooru.com][Xml] Redirecting page [http://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl rating%3Ageneral](http://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl%20rating%3Ageneral) to [https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl rating%3Ageneral](https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl%20rating%3Ageneral)
[01:13:34.183][Info] [gelbooru.com][Xml] Loading page [https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl rating%3Ageneral](https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl%20rating%3Ageneral)
[01:13:34.377][Info] [gelbooru.com][Html] Receiving page [https://gelbooru.com/index.php?page=post&s=list&tags=1girl rating%3Ageneral&pid=0](https://gelbooru.com/index.php?page=post&s=list&tags=1girl%20rating%3Ageneral&pid=0)
[01:13:34.387][Info] [gelbooru.com][Html] Parsed page [https://gelbooru.com/index.php?page=post&s=list&tags=1girl rating0Ageneral&pid=0](https://gelbooru.com/index.php?page=post&s=list&tags=1girl%20rating0Ageneral&pid=0): 0 images (37), 37 tags (-1), 243978 total (5809), 5809 pages (%11)
[01:13:34.472][Info] [gelbooru.com][Xml] Receiving page [https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl rating%3Ageneral](https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl%20rating%3Ageneral)
[01:13:34.477][Info] [gelbooru.com][Xml] Parsed page [https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl rating0Ageneral](https://gelbooru.com/index.php?page=dapi&s=post&q=index&limit=20&pid=0&tags=1girl%20rating0Ageneral): 0 images (0), 0 tags (243977), 243977 total (12199), 12199 pages (%11)

It seems to know what's happening on the page, except that there happen to be images on it.