Skip to content
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][error] NotFoundError: Requested creator could not be found #4699

Closed
KamiYamabushi opened this issue Oct 22, 2023 · 6 comments
Closed

Comments

@KamiYamabushi
Copy link

KamiYamabushi commented Oct 22, 2023

PS C:\Users\User\Archive> .\gallery-dl.exe https://www.patreon.com/Creator --verbose
[gallery-dl][debug] Version 1.26.1 - Executable
[gallery-dl][debug] Python 3.12.0 - Windows-11-10.0.22635-SP0
[gallery-dl][debug] requests 2.31.0 - urllib3 2.0.7
[gallery-dl][debug] Configuration Files ['C:\\Users\\User\\Archive\\gallery-dl.conf']
[gallery-dl][debug] Starting DownloadJob for 'https://www.patreon.com/Creator'
[patreon][debug] Using PatreonCreatorExtractor for 'https://www.patreon.com/Creator'
[patreon][debug] TLS 1.2 disabled.
[cookies][debug] Extracting cookies from C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\ocxg4bna.default-release\cookies.sqlite
[cookies][info] Extracted 1302 cookies from Firefox
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.patreon.com:443
[urllib3.connectionpool][debug] https://www.patreon.com:443 "GET /Creator/posts HTTP/1.1" 200 None
[patreon][error] NotFoundError: Requested creator could not be found

Please note I've substituted any identifiable names in the paths. (User and Creator respectively.)

This error occurs with the latest nightly build and as far as I can tell (since my config hasn't changed in months), there are no configuration issues on my end.

(Edit: This issue was previously marked as fixed in other Issues threads. I will also add that my Cookies had been refreshed, just in case.)

@mikf
Copy link
Owner

mikf commented Oct 24, 2023

I tried a couple of creators (more than 5) listed in Patreon's front page and got this error once. The one with the error worked when running it a second time.
I'm not using any cookies for this, but I doubt this makes a difference.

You could try v1.26.0, which uses the old campaign_id path.

edit: related to #4639

@mikf mikf added the site:bug label Oct 24, 2023
@KamiYamabushi
Copy link
Author

So I've tried with 1.26.0 and 1.26.1; same issue. However, it does seem you're correct when not 'logged in', it will retrieve publicly available posts without issue. However, when using Cookies (for login authentication), then it shows the error.

I'm unsure if it's related to authentication or related to some different post path when being 'logged in' vs not.

@mikf
Copy link
Owner

mikf commented Oct 24, 2023

Even with logged in cookies, I don't get this error ...

I'd need the first file created by --write-pages to have a look at what is different for you, but that would revedal your account and the creator you're trying to download from.

I should also implement a way to directly specify a creator's campaign ID to at least have a workaround in cases like this.

edit: just the line containing window.patreon.bootstrap, would be enough.

@KamiYamabushi
Copy link
Author

Unfortunately, I think my page output will no longer be useful. It randomly started working for me as of five minutes ago (7:30pm EST) despite not working just prior to that. If it goes back to not working, I'll update with the relevant line.

However, it seems like someone else is experiencing the issue now: #4715

@Tobi823
Copy link
Contributor

Tobi823 commented Oct 25, 2023

It randomly started working for me as of five minutes ago

For me too - I can download from Patreon again.

mikf added a commit that referenced this issue Oct 25, 2023
- add ways to directly specify a 'campaign_id'
  - 'campaign-id' config option
  - 'c' or 'campaign_id' URL query parameter
- more descriptive error messages
- show 'campaign_id' value in debug log
@mikf
Copy link
Owner

mikf commented Oct 25, 2023

Well, whatever this was, it is now possible to manually set the campaign_id value and you'll get a better error message instead of "Requested creator could not be found" when extracting it automatically fails again: 12a800c

@mikf mikf closed this as completed Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants