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

[Newgrounds] Extract & pass auth token #4268

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

FrostTheFox
Copy link
Contributor

On my system, I was getting [newgrounds][error] AuthenticationError: Invalid or missing login credentials when gallery-dl tried to login to Newgrounds. Running with -o write-pages=all showed I was getting an error from Newgrounds Missing / invalid required token.

Looking at a normal login request, there's a hidden auth token on /passport/ that is also passed along with credentials. After adding these lines to extract & pass that along, I was able to successfully login & download from Newgrounds.

@mikf mikf merged commit 9576652 into mikf:master Jul 5, 2023
@FrostTheFox FrostTheFox deleted the newgrounds_auth_fix branch July 5, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants