CuddleBear92 / Hydrus-Presets-and-Scripts

collection of presets and scripts for Hydrus
246 stars 49 forks source link

403 error on some sites #127

Open ranenvious opened 1 year ago

ranenvious commented 1 year ago

I'm getting a 403 error when I try to download from some sites. Based on what I can find online, I'm guessing this is a spam prevention measure (a fact supported by the frequent captchas I get when visiting the site) but I can't find a way to import cookies or anything to bypass it. (I should note that I have attempted to put in login information for the site, however while the login script is complete, whenever I actually try to login it 403s again. I'm sure there is a fix, but I can't find it listed anywhere online)

floogulinc commented 1 year ago

You need to specify which sites you're having the issue with. Also Hydrus Companion can be used to send cookies from your browser to Hydrus.

brachna commented 1 year ago

I'm having 403 problem with rule34.xxx and paheal. Latest Hydrus, used Hydrus Companion to transfer cookies. Sites work just fine in a browser.

User-Input commented 1 year ago

I managed to fix this problem by sending cookies to Hydrus via the companion extension and then in Hydrus itself, going under Network > Data > Manage HTTP Headers, and then changing the default user-agent to my actual user-agent. In my case "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0"

centro39 commented 1 year ago

I managed to fix this problem by sending cookies to Hydrus via the companion extension and then in Hydrus itself, going under Network > Data > Manage HTTP Headers, and then changing the default user-agent to my actual user-agent. In my case "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0"

Thanks a lot, it helped!

centro39 commented 1 year ago

The 403 error has recently returned to me. And I found a new solution on the Danbooru forum. Instead of your user-agent you have to write your nickname (Danbooru) in hydrus. It worked for me, maybe someone can use it too.