-
Notifications
You must be signed in to change notification settings - Fork 5
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
cookies.txt is not properly used during crawls #21
Comments
I can't test this (busy), sorry. To potentially narrow down when this bug happens, could you go to http://thetechrobo.ca:1111, verify it says that the cookie isn't set, then go to http://thetechrobo.ca:1111/set to set the cookie? Then export the cookies, run wpull on http://thetechrobo.ca:1111 with the cookies, and see if it says the cookies are set. |
Hmm, oddly enough your site did work with |
Again, I've had --load-cookies work before, like with Planet French, but not with Infos-Ados. Are you sure there aren't any #HttpOnly lines int he cookies.txt...? |
Okay, I thought maybe it was an issue with my particular setup for some reason. Regarding |
|
What I wanted/expected: Cookies, read from the provided cookies.txt, to be used during crawls with
wpull
.What happened:
wpull
ignores the provided cookies.txt file and crawls without it.The command or website causes the problem:
--load-cookies=/absolute/path/to/cookies.txt
Operating system: Debian GNU/Linux 11 (x86_64)
Python version: 3.8.13
Wpull version: 3.0.9
Options used with
wpull
(obtained usinggrab-site
's--which-wpull-args-partial
):Further details and temporary workaround here.
Even giving cookies.txt 777 permissions,
wpull
still refuses to use the cookies in cookies.txt during crawls.The filesystem used for everything is ext4, has no I/O errors, has ample free space, passes
fsck.ext4
, and the absolute path contains no spaces or special characters of any kind (just lowercase a-z).cookies.txt was exported using version 0.3 of this Firefox extension under Firefox 78.15.0esr on the same OS, and was not modified after exporting.
The text was updated successfully, but these errors were encountered: