CuddleBear92 / Hydrus-Presets-and-Scripts

collection of presets and scripts for Hydrus
266 stars 53 forks source link

Patreon: 403s with/without jsonlogin set and cookies copied #126

Open IngwiePhoenix opened 2 years ago

IngwiePhoenix commented 2 years ago

Hello!

So I just tried to set up the Patreon downloader - however, it seems that there is an issue. Sadly, I have yet to find where Hydrus stores proper logs so I can quote those.

So far, I have tried to log in just using the jsonlogin, then by copying the cookies over by using the hydrus-companion extension and later by just removing the jsonlogin. None of those seemed to have worked. I can confirm the cookie is indeed properly copied - it shows up in the cookies dialog and is equal to the cookies in my browser - well, session_id. I have not compared the others, considering it doesn't really matter.

I would love to give more and proper details, but have no idea how o.o So if you would, please tell me how I can get a proper log output so I can complete this bug report!

Installed Hydrus about a few hours ago, so its recent. I also used the "patreon api campaign" downloader.

Thank you and kind regards, Ingwie

floogulinc commented 2 years ago

I made the Patreon parser. Patreon changed something with their scrapper protection recently so it's not working for anyone right now. It might just not be possible to download from Patreon in Hydrus anymore.

major-minor-patch commented 2 years ago

Seems like it happened right around when they rolled out the changed UI. Have been using AlexCSDev/PatreonDownloader as an alternative in the meantime, as it still works.

mruac commented 2 years ago

Thanks for making the issue.

It looks like the culprit is that Patreon added a JS requirement on the unofficial api pages and redirecting any attempts to load the site without JS to a 403, The api parser seems to work just fine if I copy and paste the api output manually from a JS enabled browser.

image