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

cookies.txt in netscape format #98

Open
muscleriot opened this issue Aug 4, 2023 · 5 comments
Open

cookies.txt in netscape format #98

muscleriot opened this issue Aug 4, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@muscleriot
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Thanks for the project very grateful for the work you have put in. My problem was in getting cookies.txt file in correct format. Took me a long time to find a browser plugin that worked.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Simply point the user to use browser plugins. I used the Chome extension 'Cookie-Editor' which allow to save cookies.txt for twitter in netscape format. (Works in brave)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Tried manually writing cookies.txt - took hours and didn't work! Found a chrome extension called cookies-editor which wrote the cookies.txt in netscape format in a second. Then I could use twspace without a problem!

Additional context
Add any other context or screenshots about the feature request here.
The extension I used is here:
https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm

@muscleriot muscleriot added the enhancement New feature or request label Aug 4, 2023
@mikelei8291
Copy link
Contributor

@Ryu1845 Should we include some suggestions for extensions in the README.md file? Given that the Netscape cookies file format is quite obscure and would normally be generated by programs instead of written by hand.

Or should we consider using a simpler format for the cookies? Like key=value pairs separated by new line characters? The current implementation is only looking for key<spaces>value with regex in the cookies file despite asking for the complete file structure.

@Ryu1845
Copy link
Collaborator

Ryu1845 commented Aug 31, 2023

I think suggestions for extensions is what makes the most sense. I don't think people should have to manually copy their cookies to a file with a special format

@mikelei8291
Copy link
Contributor

OK I'll add some links to extensions in the README.md file and explain this a bit.

@edrozenberg
Copy link

edrozenberg commented Dec 4, 2023

Would be great to be able to just pass in the required parameters on the cli, for ex. twitter sets values for these items in my session, _twitter_sess, auth_token, ct0, multiple guest_id____ items etc. Would be great to pass to the cli directly whichever of these values it needs. Having to figure out how to export and format cookie values into a cookie file or which non-malicious extension they should use in which browser means 99% of the users of this tool will just give up.

@luqasz
Copy link

luqasz commented Jul 21, 2024

Good that I've found this issue. Otherwise I wouldn't be able to use this tool. Please add info how to get cookies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants