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

Fix Netscape cookie export #139

Open
wants to merge 2 commits into
base: fpi
Choose a base branch
from
Open

Fix Netscape cookie export #139

wants to merge 2 commits into from

Conversation

dspeyrer
Copy link

Append the "# Netscape HTTP Cookie File" comment to the beginning of Netscape cookie exports, and replace the lowercase boolean values for ISSECURE_RAW, ISHTTPONLY_RAW, and ISDOMAIN_RAW with uppercase string versions.

This fixes #96 by allowing youtube-dl to parse the file properly.

dspeyrer and others added 2 commits April 19, 2022 20:18
Appends "# Netscape HTTP Cookie File" to the beginning of the file, and uppercases booleans in the export.
Changed to only capitalize the boolean raw values if the template is 'NETSCAPE'.
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.

Netscape format not working with youtube-dl
1 participant