-
-
Notifications
You must be signed in to change notification settings - Fork 976
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
KeyError - "name='YII_CSRF_TOKEN', domain=None, path=None" #1083
Comments
There have been some small changes regarding CSRF tokens and setting content filters in the last version (1.15.2, commit 783e0af), but it works on CI and on my machine without problems. $ gallery-dl https://www.hentai-foundry.com/pictures/user/thekite/
/tmp/hentaifoundry/thekite/hentaifoundr…4170_HMGBAPS Short: Clash of Wills 9.jpg
/tmp/hentaifoundry/thekite/hentaifoundr…WANDERLUST CYOA_ The Light of Ida 10.png^C
KeyboardInterrupt Does this error also happen for you on an older version, e.g. 1.15.1? |
Happens to all hentaifoundry urls and from the start. 🤔 EDIT: Also i tried to go to some hentaifoundry pages and look around for stuff with my normal browser and then export the cookie... yup, same error. so it's not really something that happens because of that. |
Could you run gallery-dl with a hentai-foundry URL and $ gallery-dl -o write-pages=all https://www.hentai-foundry.com/pictures/user/thekite/ |
🤔
that... actually gave no problem whatsoever. i normally use a custom config which goes like this:
|
uhm... sorry about the previous edits but i realized only after posting that i did not anonymize the file because i thought i had put everything in the cookies file... and that was not the case. 😅 |
Well, thank you for this, but I would've hoped for a crash and the HTTP requests leading to it, It would be really helpful if you could record, with |
Yeah. That's the problem. If i run it normally i... don't even get to the first downloaded image. 😅 It's not something that happens "after a while" or... "after downloading a few images" it's something that starts immediately. 😅 That is why i thought the problem was in the config file. Because i did not load the config file to do what you asked me. |
currently running it until i see if it creates a problem. |
yup, can confirm, went through the entire gallery without a single hitch. |
this time i'm uploading without the images because i doubt you need the actual 1 GB of smut, just the logs |
I've figured out what's causing it: Your global cookies.txt file already contains a "hentaifoundry":
{
"cookies": null,
"filename": "{user} - {title} - {filename}.{extension}"
}, edit: or you use the changes from 0211af7 |
Tried to download something from Henaifoundry
because i'm a pervbecause i'm a perv.I am getting this error:
the since the log is already verbose i went there and it states this:
Might be an issue elsewhere too that uses cross site request forgery tokens to avoid unauthorized bots.
I just found out by chance.
The text was updated successfully, but these errors were encountered: