diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-05-11 21:05:39 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-05-11 21:05:39 +0600 |
commit | 1f92865494c6efa1a0d5d90ffa849e85b80c8248 (patch) | |
tree | 01e0602110a7f2739306e77754e28731a00affca | |
parent | e41f450f2860ab5aa3f3a04bc646594c6dbc6714 (diff) |
[dumpert] Add cpc cookie (Closes #5672)
-rw-r--r-- | youtube_dl/extractor/dumpert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dumpert.py b/youtube_dl/extractor/dumpert.py index 9c594b757..999fb5620 100644 --- a/youtube_dl/extractor/dumpert.py +++ b/youtube_dl/extractor/dumpert.py @@ -26,7 +26,7 @@ class DumpertIE(InfoExtractor): video_id = self._match_id(url) req = compat_urllib_request.Request(url) - req.add_header('Cookie', 'nsfw=1') + req.add_header('Cookie', 'nsfw=1; cpc=10') webpage = self._download_webpage(req, video_id) files_base64 = self._search_regex( |