projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042b664
)
[utils] Add reference to cookie file format
author
Sergey M․
<dstftw@gmail.com>
Mon, 9 Mar 2020 21:59:02 +0000
(
04:59
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 9 Mar 2020 21:59:02 +0000
(
04:59
+0700)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 8ccf254895133f38d1c8e095718a0d53d53bd061..38262bee4cd08f97e4f5009d7066d1466bde25a4 100644
(file)
--- 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):