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 216 forks source link

Cannot login, and won't show me images (gelbooru, danbooru) #2826

Open udada63 opened 2 years ago

udada63 commented 2 years ago

Bug description

A clear and concise description of what the bug is.

Steps to reproduce

  1. Search anything (non-paywall) on Danbooru or Gelbooru
  2. NO result.
  3. Logging in with ID and Password won't work, same with API keys.
  4. Returns "No Result" but shows me tags and it's numbers at the left side pannel

Expected behavior

Just normally show images and let me download

Context

Note that both main.log and settings.ini files can be found in C:/Users/%USERNAME%/AppData/Local/Bionus/Grabber in Windows, and in the installation directory on Linux.

Screenshots

If applicable, add screenshots to help explain your problem.

https://drive.google.com/drive/folders/1pZvRnj286l-zX3rf9QMh5i54Jm0-kTY5?usp=sharing

I've uploaded the main.log, settings.ini, and image for your reference.

System information

Additional context

Add any other context about the bug report here.

AkiSan0 commented 1 year ago

I have the same Issue, the log seem to insinuate that claudflare changed something: [Error] [danbooru.donmai.us][Xml] Cloudflare wall for 'https://danbooru.donmai.us/posts.xml?limit=20&page=1&tags=

LordOfLA commented 1 year ago

I was able to work around the "cloudflare wall" with adguard for windows user agent masking feature. Perhaps grabber should use a chrome useragent or an option in the settings menu to specify a custom user agent?

eroko commented 1 year ago

I was able to work around the "cloudflare wall" with adguard for windows user agent masking feature. Perhaps grabber should use a chrome useragent or an option in the settings menu to specify a custom user agent?

You can define your own ua via Sources -> your Source Options -> Headers . Name -> user-agent Value -> your ua


It works for me to pass cf firewall.

LordOfLA commented 1 year ago

Ah, thanks for that. I had looked around but hadn't put 2 and 2 together with the headers tab.

kanti852 commented 1 year ago

You can define your own ua via Sources -> your Source Options -> Headers . Name -> user-agent Value -> your ua

It works for me to pass cf firewall.

I downloaded Adguard just for this. Found the headers tab in the search options. What exactly do I type for the value? Just "Adguard" ?

Laesx commented 1 year ago

You can define your own ua via Sources -> your Source Options -> Headers . Name -> user-agent Value -> your ua It works for me to pass cf firewall.

I downloaded Adguard just for this. Found the headers tab in the search options. What exactly do I type for the value? Just "Adguard" ?

Search "user agent" on google and find a string that's something like this = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0" Even just this one should work I figure.

kanti852 commented 1 year ago

Search "user agent" on google and find a string that's something like this = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0" Even just this one should work I figure.

That worked! Thanks a ton!!!

LordOfLA commented 1 year ago

You don't need adguard btw, that was just how I worked around it. If you specify a user-agent in the grabber source options as detailed above it'll still work and not need you to spend money on adguard if you don't want to.

kanti852 commented 1 year ago

Spend money? Adguard was free...

LordOfLA commented 1 year ago

The browser extension is free, the windows app isn't, which is what I used initially.

FomastosS commented 1 year ago

You don't need adguard btw, that was just how I worked around it. If you specify a user-agent in the grabber source options as detailed above it'll still work and not need you to spend money on adguard if you don't want to.

I don't understand where to put this can you explain?

GaryOni commented 1 year ago

Sources > your source options (danbooru) > Headers > Add

Name > User-Agent Value > your ua

snow9874 commented 1 year ago

It doesn't work for me, the same thing keeps coming out

blackest-mage commented 1 year ago

Same here, I input the UA into the value but nothing shows up. Might just try the adguard