NO-ob / LoliSnatcher_Droid

A booru client with support for batch downloading
GNU Affero General Public License v3.0
371 stars 23 forks source link

Danbooru now returns 403 errors #185

Closed Wasuregusa closed 1 year ago

Wasuregusa commented 1 year ago

Today the app suddenly stopped working with site danbooru.donmai.us with an Error happened when loading page #1 http status error 403 message.

I was running version 2.3.0, so I tried upgrading to 2.3.1 to no avail. I tried both versions with and without setting up the API key, but all combinations failed.

Finally, I rolled back to version 2.1.5 just because I happened to have the apk file for it in the downloads folder since who knows when, and to my surprise that DID work without having to set up the API key. Next I tried installing versions 2.2.0 and 2.2.5, and they worked too.

I suspect the site suddenly changed something and that ended up relaxing their restrictions to interact with the API, but whatever it was that also made versions 2.3.0 and 2.3.1 fail to retrieve proper responses from the site.

dizzydoo commented 1 year ago

Just to add to this, on v2.3.1 and noticed this happening too despite having ID, API key and session cookies saved. With logging enabled, Alice inspector shows that it hits a Cloudflare challenge/bot check page during the GET requests for posts.

kyoyacchi commented 1 year ago

Working for me (ver 2.3.2). Try using VPN? I'm using ProtonVPN since these kind of websites are blocked in my country.

NANI-SORE commented 1 year ago

Fixed in 2.3.2 It happened because danbooru now doesn't allow api requests with browser user agents

kyoyacchi commented 1 year ago

Fixed in 2.3.2 It happened because danbooru now doesn't allow api requests with browser user agents

I see

Wasuregusa commented 1 year ago

Can confirm it's fixed in v2.3.2.