aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-03-10 04:59:02 +0700
committerSergey M․ <dstftw@gmail.com>2020-03-10 04:59:02 +0700
commitf1a8511f7b5bbbd9e64f597c87791ad3b4310efc (patch)
treeb3b2fcd7a955f134b47594738ef4c5342edc7d20 /youtube_dl/utils.py
parent042b66493398dd8c3bb31216e3f828b98716810d (diff)
[utils] Add reference to cookie file format
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 8ccf25489..38262bee4 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -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):