-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Patreon] 403s and 401s #6348
Comments
Since
I really don't know what to do about that or why it happens in the first place. Maybe |
Hi. After trying the I switched from having Below is a partial example of the cookie file I am using.
I have no problems using I am confident that The |
The 401 errors might be from |
I'll join this issue, too. |
I had to manually set the user-agent in the config file to match my browser so-
then I grabbed the cookies from said browser using - |
That is the way it is supposed to work, yes. Although your config example here is wrong:
Just use the same as the one with your valid cookies. And |
Yeah I put my own user-agent, didn't want to clutter to reply since they might be using a different browser. For the "browser", I just copy pasted it since it was mentioned in this post - #6241 (comment) when trying out the mobile user-agent |
Thanks! The browser false did the trick: "patreon": {
"filename": "{date:%Y%m%d}_{creator['full_name']!g}_{title[:60]!g}_{hash}.{extension}",
"user-agent": "Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0",
"browser": null
}, I am using a cookie file with https://addons.mozilla.org/en-US/firefox/addon/export-cookies-txt/ because I am using multiples Firefox profile and I am not sure how to tell into which one to fetch cookies :
I was stuck for months with this. |
If you mean |
The
where PROFILE is the profile name or path to a profile folder.
Technically yes, but for quite a few options, including |
I am having an issue similar to the issues described in #5731, #6140, #6239, and #6241. Requests to
https://www.patreon.com/CreatorName
, andhttps://www.patreon.com/CreatorName/posts
always result in403
errors after CloudFlare challenges.None of the solutions suggested in those issues work for me. Changing browser options in order to modify the fingerprint doesn't work. Using different browsers doesn't work. Using the Patreon application user agent doesn't work.
I have tried using both the latest stable version and 1.27.7-dev.
The only thing that sort of works is pointing gallery-dl to
https://www.patreon.com/home
as mentioned in #6140 , which seems to bypass the CloudFlare challenge, but which then results in a 401 response for each attempted download. I have tried using cookies from both Brave and Firefox, both of which are logged in to my Patreon account. Even if this worked, I'm not sure if it would get all posts from the creator I am interested in.[cookies][info] Extracted 2938 cookies from Firefox
[cookies][info] Extracted 2179 cookies from Brave
There are no reports of failure to decrypt any of the cookies with either browser. Initially, that was an issue with Brave, but once I specified the keyring, that problem disappeared.
I have also tried leaving 12+ hours between attempts as suggested by someone in one of the linked issues.
I don't know if it was mentioned in those other issues, but the Patreon URLs you see in your browser address bar include a
/c/
portion that gallery-dl doesn't seem to expect. If you include the/c/
as inhttps://www.patreon.com/c/CreatorName/posts
, gallery-dl reports that it cannot find that creator. Presumably, it thinks the creator isc
. I imagine this is handled behind the scenes by 30x redirects, but it seemed worth mentioning.I am using ubuntu 24.04.
The text was updated successfully, but these errors were encountered: