Browse Source

[utils] Add reference to cookie file format

master
Sergey M․ 5 years ago
parent
commit
f1a8511f7b
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      youtube_dl/utils.py

+ 5
- 0
youtube_dl/utils.py View File

@ -2729,6 +2729,11 @@ class YoutubeDLHTTPSHandler(compat_urllib_request.HTTPSHandler):
class YoutubeDLCookieJar(compat_cookiejar.MozillaCookieJar):
"""
See [1] for cookie file format.
1. https://curl.haxx.se/docs/http-cookies.html
"""
_HTTPONLY_PREFIX = '#HttpOnly_'
def save(self, filename=None, ignore_discard=False, ignore_expires=False):


Loading…
Cancel
Save