Skip to content

Fix Netscape cookie export#139

Open
dspeyrer wants to merge 2 commits intoysard:fpifrom
dspeyrer:fpi
Open

Fix Netscape cookie export#139
dspeyrer wants to merge 2 commits intoysard:fpifrom
dspeyrer:fpi

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