Bionus / imgbrd-grabber

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

Cant search tag from exhentai #1966

Closed Ficatino closed 2 years ago

Ficatino commented 4 years ago

Log

[05:14:23.643][Warning] Javascript model not found for Sankaku [05:14:23.660][Info] Temp directory purged of 0/0 files (0 failed) [05:14:23.962][Info] New session started. [05:14:23.962][Info] Software version: 7.2.1. [05:14:23.962][Info] Software CPU architecture: x64. [05:14:23.963][Info] Computer CPU architecture: x86_64. [05:14:23.963][Info] Qt CPU architecture: x86_64. [05:14:23.963][Info] Computer platform: Windows 10 (10.0). [05:14:23.963][Info] Path: D:/Program Files/Grabber [05:14:23.964][Info] Loading preferences from C:/Users/Mo-Ji/AppData/Local/Bionus/Grabber/settings.ini [05:14:23.965][Info] Temporary path: C:/Users/Mo-Ji/AppData/Local/Temp\Grabber [05:14:23.968][Info] SSL libraries: OpenSSL 1.1.1d 10 Sep 2019 [05:14:23.980][Info] 21 sources found: anime-pictures.net (Anime pictures), api.twitter.com (Twitter), behoimi.org (Danbooru), chan.sankakucomplex.com (Danbooru (2.0)), danbooru.donmai.us (Danbooru (2.0)), derpibooru.org (Booru-on-rails), e-hentai.org (E-Hentai), e621.net (Danbooru), exhentai.org (E-Hentai), gelbooru.com (Gelbooru (0.2)), hijiribe.donmai.us (Danbooru (2.0)), konachan.com (Moebooru), nhentai.net (NHentai), rule34.paheal.net (Shimmie), rule34.xxx (Gelbooru (0.2)), safebooru.org (Gelbooru (0.2)), sonohara.donmai.us (Danbooru (2.0)), tentaclerape.net (Shimmie), www.pixiv.net (Pixiv), www.zerochan.net (Zerochan), yande.re (Moebooru) [05:14:24.003][Info] Updating checkboxes. [05:14:24.005][Info] [exhentai.org] Logging in... [05:14:24.005][Info] [exhentai.org] Login finished: success. [05:14:24.009][Info] Updating checkboxes. [05:14:24.012][Info] Monitoring starting [05:14:24.156][Info] Monitoring tick [05:14:24.157][Info] Monitoring finished [05:14:26.967][Info] Loading results... [05:14:26.968][Info] [exhentai.org][Html] Loading page https://exhentai.org/?page=0&f_cats=0&f_search=Temptation [05:14:31.030][Info] [exhentai.org][Html] Receiving page https://exhentai.org/?page=0&f_cats=0&f_search=Temptation [05:14:31.031][Error] [exhentai.org][Html] Loading error: Unknown error (0) [05:14:31.031][Warning] [exhentai.org] No valid source of the site returned result.

I can open the link in the log manually

Bionus commented 4 years ago

Strange, I can load from ExHentai with no issues on my end. Your log also indicates that it's a network error, but the fact that you can open it manually proves it's not your IP on a blacklist or some real network issue.

Did you change anything in your source settings except for your credentials? You can see all your changes from the defaults if you check the contents of this file:

C:\Users\%USERNAME%\AppData\Local\Bionus\Grabber\sites\E-Hentai\exhentai.org

Do you have any issue loading from other sources? (especially e-hentai)

Ficatino commented 4 years ago

E-hentai can search for tags, but click the image to enter the corresponding page will not display the image LOG

[10:50:51.763][Error] [exhentai.org][Html] Loading error: Unknown error (0)
[10:50:51.763][Warning] [exhentai.org] No valid source of the site returned result.
[11:22:07.745][Info] Loading results...
[11:22:07.746][Info] [e-hentai.org][Html] Loading page https://e-hentai.org/g/1641085/5e6ec4fb1f/?p=0
[11:22:10.560][Info] [e-hentai.org][Html] Receiving page https://e-hentai.org/g/1641085/5e6ec4fb1f/?p=0
[11:22:10.562][Info] [e-hentai.org][Html] Parsed page https://e-hentai.org/g/1641085/5e6ec4fb1f/?p=0: 0 images (0), 0 tags (0), 104 total (104), 6 pages (6)

Exhentai config

[General]
name=ExHentai
ssl=true

[sources]
usedefault=false
source_1=regex
source_2=
source_3=
source_4=

[login]
type=post

E-hentai config

[General]
name=E-Hentai
ssl=true

[sources]
usedefault=false
source_1=regex
source_2=
source_3=
source_4=

[login]
type=post
post\url="https://forums.e-hentai.org/index.php?act=Login&CODE=01"

I should only modify the login information

Bionus commented 4 years ago

Unknown error (0)

This error is when the website returns no content, which is what happens on ExHentai when you are not logged in (for some reason the sad panda picture was removed).


As such, I could reproduce your error by giving incorrect credentials in the login window.

Are you sure your credentials are correct? The log says "login success" so it's strange. Maybe you can delete the cookies.txt file from C:\Users\%USERNAME%\AppData\Local\Bionus\Grabber\sites\E-Hentai\exhentai.org and try again 🤔

Are you using nightly or the 7.2.1 release?

aTosser commented 4 years ago

Possibly related to #1688 ?

E-hentai can search for tags, but click the image to enter the corresponding page will not display the image

This is the same behavior described excepting the source being exhentai not e-hentai.

Note: all of my testing has been on linux, not windows

Synitare commented 4 years ago

Getting this same issue. I am able to search for tags and view gallery thumbnails immediately after testing my login credentials in the sources config, but when I try to view a gallery, nothing shows up.

Initial search after restarting client:

[02:14:12.080][Warning] Javascript model not found for Booru-on-rails
[02:14:12.116][Warning] Javascript model not found for Sankaku
[02:14:12.163][Info] Temp directory purged of 0/0 files (0 failed)
[02:14:12.522][Info] New session started.
[02:14:12.522][Info] Software version: 7.3.1.
[02:14:12.522][Info] Software CPU architecture: x64.
[02:14:12.522][Info] Computer CPU architecture: x86_64.
[02:14:12.522][Info] Qt CPU architecture: x86_64.
[02:14:12.523][Info] Computer platform: Windows 10 (10.0).
[02:14:12.523][Info] Path: `C:/Program Files/Grabber`
[02:14:12.523][Info] Loading preferences from `C:/Users/USERNAME/AppData/Local/Bionus/Grabber/settings.ini`
[02:14:12.524][Info] Temporary path: `C:/Users/USERNAME/AppData/Local/Temp\Grabber`
[02:14:12.527][Info] SSL libraries: OpenSSL 1.1.1d  10 Sep 2019
[02:14:12.546][Info] Setting language to 'English' (`C:\Program Files\Grabber\languages\English.qm`)...
[02:14:12.548][Info] 21 sources found: anime-pictures.net (Anime pictures), api.twitter.com (Twitter), behoimi.org (Danbooru), danbooru.donmai.us (Danbooru (2.0)), derpibooru.org (Philomena), e-hentai.org (E-Hentai), e621.net (E621), exhentai.org (E-Hentai), gelbooru.com (Gelbooru (0.2)), hijiribe.donmai.us (Danbooru (2.0)), ichijou.org (Danbooru), konachan.com (Moebooru), nhentai.net (NHentai), rule34.paheal.net (Shimmie), rule34.xxx (Gelbooru (0.2)), safebooru.org (Gelbooru (0.2)), sonohara.donmai.us (Danbooru (2.0)), tentaclerape.net (Shimmie), www.pixiv.net (Pixiv), www.zerochan.net (Zerochan), yande.re (Moebooru)
[02:14:12.680][Info] Updating checkboxes.
[02:14:12.941][Info] [exhentai.org] Logging in...
[02:14:12.941][Info] [exhentai.org] Login finished: success.
[02:14:12.944][Info] Updating checkboxes.
[02:14:12.948][Info] Monitoring starting
[02:14:13.056][Info] Monitoring tick
[02:14:13.056][Info] Monitoring finished
[02:14:19.795][Info] Loading results...
[02:14:19.796][Info] [exhentai.org][Html] Loading page `https://exhentai.org/?page=0&f_cats=0&f_search=Tiddies`
[02:14:20.555][Info] [exhentai.org][Html] Receiving page `https://exhentai.org/?page=0&f_cats=0&f_search=Tiddies`
[02:14:20.556][Info] [exhentai.org][Html] Parsed page `https://exhentai.org/?page=0&f_cats=0&f_search=Tiddies`: 0 images (0), 0 tags (0), 0 total (0), 1 pages (1)

Search after testing login in sources dialog:

[02:15:07.470][Info] [exhentai.org] Logging in...
[02:15:08.105][Info] [exhentai.org] Login finished: success.
[02:15:10.030][Info] Saving sources...
[02:15:10.030][Info] Updating checkboxes.
[02:15:11.989][Info] Loading results...
[02:15:11.990][Info] [exhentai.org][Html] Loading page `https://exhentai.org/?page=0&f_cats=0&f_search=Tiddies`
[02:15:12.520][Info] [exhentai.org][Html] Receiving page `https://exhentai.org/?page=0&f_cats=0&f_search=Tiddies`
[02:15:12.521][Info] [exhentai.org][Html] Redirecting page `https://exhentai.org/?page=0&f_cats=0&f_search=Tiddies` to `https://forums.e-hentai.org/remoteapi.php?ex=MTU5NTgzNDExMS1mMDk2ZjVjNGE3`
[02:15:12.521][Info] [exhentai.org][Html] Loading page `https://forums.e-hentai.org/remoteapi.php?ex=MTU5NTgzNDExMS1mMDk2ZjVjNGE3`
[02:15:12.637][Info] [exhentai.org][Html] Receiving page `https://forums.e-hentai.org/remoteapi.php?ex=MTU5NTgzNDExMS1mMDk2ZjVjNGE3`
[02:15:12.638][Info] [exhentai.org][Html] Redirecting page `https://forums.e-hentai.org/remoteapi.php?ex=MTU5NTgzNDExMS1mMDk2ZjVjNGE3` to `https://exhentai.org/?poni=MjM4NTIxNy04YjIxNjhjMDM4MmJhZGIwNWZmMTM4YjM2YjI1ZjY1OC0xNTk1ODM0MTExLWQ1YWFlMWQ2Y2FmYjQ2NWEwNjkyYTcyNjBjZjZkNDIzOGU1OGU5YjI=`
[02:15:12.638][Info] [exhentai.org][Html] Loading page `https://exhentai.org/?poni=MjM4NTIxNy04YjIxNjhjMDM4MmJhZGIwNWZmMTM4YjM2YjI1ZjY1OC0xNTk1ODM0MTExLWQ1YWFlMWQ2Y2FmYjQ2NWEwNjkyYTcyNjBjZjZkNDIzOGU1OGU5YjI=`
[02:15:12.838][Info] [exhentai.org][Html] Receiving page `https://exhentai.org/?poni=MjM4NTIxNy04YjIxNjhjMDM4MmJhZGIwNWZmMTM4YjM2YjI1ZjY1OC0xNTk1ODM0MTExLWQ1YWFlMWQ2Y2FmYjQ2NWEwNjkyYTcyNjBjZjZkNDIzOGU1OGU5YjI=`
[02:15:12.838][Info] [exhentai.org][Html] Redirecting page `https://exhentai.org/?poni=MjM4NTIxNy04YjIxNjhjMDM4MmJhZGIwNWZmMTM4YjM2YjI1ZjY1OC0xNTk1ODM0MTExLWQ1YWFlMWQ2Y2FmYjQ2NWEwNjkyYTcyNjBjZjZkNDIzOGU1OGU5YjI=` to `https://exhentai.org/`
[02:15:12.839][Info] [exhentai.org][Html] Loading page `https://exhentai.org/`
[02:15:13.058][Info] [exhentai.org][Html] Receiving page `https://exhentai.org/`
[02:15:13.064][Info] [exhentai.org][Html] Parsed page `https://exhentai.org/`: 25 images (25), 0 tags (0), 812116 total (812116), 32485 pages (32485)

After clicking on a gallery:

[02:16:02.331][Info] Loading results...
[02:16:02.331][Info] [exhentai.org][Html] Loading page `https://exhentai.org/g/1693067/6ff25a7b94/?p=0`
[02:16:03.097][Info] [exhentai.org][Html] Receiving page `https://exhentai.org/g/1693067/6ff25a7b94/?p=0`
[02:16:03.099][Info] [exhentai.org][Html] Parsed page `https://exhentai.org/g/1693067/6ff25a7b94/?p=0`: 0 images (0), 0 tags (0), 65 total (65), 1 pages (1) 
ashfaux commented 4 years ago

I'm having the same issue, i did a random picture with cleared log so you can see what it's doing, this is after a fresh install.

[18:40:14.688][Info] Image loaded from the file C:\Users\XTOIC\Desktop\Grabber\creature\4a67229bcddbcb52847cd8e305af371b.jpg [18:40:20.199][Info] Loading image from https://img2.gelbooru.com/images/12/54/1254af61379ecea53f91a2f9a951f633.jpg [18:40:20.209][Info] Loading and saving image from https://img2.gelbooru.com/images/12/54/1254af61379ecea53f91a2f9a951f633.jpg in C:\Users\XTOIC\AppData\Local\Temp\Grabber\2478f9af-f322-401e-9722-6985d018f0a5.jpg [18:40:21.185][Info] Image received from https://img2.gelbooru.com/images/12/54/1254af61379ecea53f91a2f9a951f633.jpg [18:40:21.314][Info] Saving image in C:\Users\XTOIC\Desktop\Grabber\creature\1254af61379ecea53f91a2f9a951f633.jpg.tmp (from C:\Users\XTOIC\AppData\Local\Temp\Grabber\2478f9af-f322-401e-9722-6985d018f0a5.jpg)

DepressedAiluropoda commented 4 years ago

I'm also having this issue.

Search without logging in [22:52:01.284][Info] Loading results... [22:52:01.289][Info] [exhentai.org][Html] Loading page https://exhentai.org/?page=0&f_cats=0&f_search=a [22:52:02.191][Info] [exhentai.org][Html] Receiving page https://exhentai.org/?page=0&f_cats=0&f_search=a [22:52:02.195][Info] [exhentai.org][Html] Parsed page https://exhentai.org/?page=0&f_cats=0&f_search=a: 0 images (0), 0 tags (0), -1 total (-1), -1 pages (-1)

Logging in/search (I can see the thumbnails and titles. it looks normal)

[22:52:13.807][Info] [exhentai.org] Logging in... [22:52:14.723][Info] [exhentai.org] Login finished: success. [22:52:17.397][Info] Saving sources... [22:52:17.398][Info] Updating checkboxes. [22:52:19.848][Info] Loading results... [22:52:19.857][Info] [exhentai.org][Html] Loading page https://exhentai.org/?page=0&f_cats=0&f_search=a [22:52:20.713][Info] [exhentai.org][Html] Receiving page https://exhentai.org/?page=0&f_cats=0&f_search=a [22:52:20.715][Info] [exhentai.org][Html] Redirecting page https://exhentai.org/?page=0&f_cats=0&f_search=a to https://forums.e-hentai.org/remoteapi.php?ex=MTYwMTI2NTE0MC05MjFmZTNhMzJj [22:52:20.716][Info] [exhentai.org][Html] Loading page https://forums.e-hentai.org/remoteapi.php?ex=MTYwMTI2NTE0MC05MjFmZTNhMzJj [22:52:20.861][Info] [exhentai.org][Html] Receiving page https://forums.e-hentai.org/remoteapi.php?ex=MTYwMTI2NTE0MC05MjFmZTNhMzJj [22:52:20.863][Info] [exhentai.org][Html] Redirecting page https://forums.e-hentai.org/remoteapi.php?ex=MTYwMTI2NTE0MC05MjFmZTNhMzJj to https://exhentai.org/?poni=NTMxODM5Ni1kODQ4N2UxNWJkMmNhYTVhMTVlYWY3ZGIyYmUxMGE2OC0xNjAxMjY1MTQwLTQxYWY0NzFiMzJiNmJjNzNhMTRhYzdjNmEyNWYzZjNmZjUxMmExYzQ= [22:52:20.864][Info] [exhentai.org][Html] Loading page https://exhentai.org/?poni=NTMxODM5Ni1kODQ4N2UxNWJkMmNhYTVhMTVlYWY3ZGIyYmUxMGE2OC0xNjAxMjY1MTQwLTQxYWY0NzFiMzJiNmJjNzNhMTRhYzdjNmEyNWYzZjNmZjUxMmExYzQ= [22:52:21.114][Info] [exhentai.org][Html] Receiving page https://exhentai.org/?poni=NTMxODM5Ni1kODQ4N2UxNWJkMmNhYTVhMTVlYWY3ZGIyYmUxMGE2OC0xNjAxMjY1MTQwLTQxYWY0NzFiMzJiNmJjNzNhMTRhYzdjNmEyNWYzZjNmZjUxMmExYzQ= [22:52:21.116][Info] [exhentai.org][Html] Redirecting page https://exhentai.org/?poni=NTMxODM5Ni1kODQ4N2UxNWJkMmNhYTVhMTVlYWY3ZGIyYmUxMGE2OC0xNjAxMjY1MTQwLTQxYWY0NzFiMzJiNmJjNzNhMTRhYzdjNmEyNWYzZjNmZjUxMmExYzQ= to https://exhentai.org/ [22:52:21.118][Info] [exhentai.org][Html] Loading page https://exhentai.org/ [22:52:21.423][Info] [exhentai.org][Html] Receiving page https://exhentai.org/ [22:52:21.440][Info] [exhentai.org][Html] Parsed page https://exhentai.org/: 25 images (25), 0 tags (0), 834517 total (834517), 33381 pages (33381)

Opening a result (Opens as a gallery in a new tab, no results in the gallery.) [22:52:36.545][Info] Loading results... [22:52:36.546][Info] [exhentai.org][Html] Loading page https://exhentai.org/g/1743373/9091f6ff45/?p=0 [22:52:37.783][Info] [exhentai.org][Html] Receiving page https://exhentai.org/g/1743373/9091f6ff45/?p=0 [22:52:37.788][Info] [exhentai.org][Html] Parsed page https://exhentai.org/g/1743373/9091f6ff45/?p=0: 0 images (0), 0 tags (0), 1147 total (1147), 58 pages (58)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

If this issue is about a bug that still happens in the latest version, or a suggestion that is still relevant, feel free to comment on it and the maintainers will have another look, they might have missed it!

Thank you!