Skip to content

Commit

Permalink
[utils] Add reference to cookie file format
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw authored and pareronia committed Jun 22, 2020
1 parent adb5896 commit 6fb0496
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions youtube_dl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2729,6 +2729,11 @@ def https_open(self, req):


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):
Expand Down

0 comments on commit 6fb0496

Please sign in to comment.