aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/dumpert.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-05-11 21:05:39 +0600
committerSergey M․ <[email protected]>2015-05-11 21:05:39 +0600
commit1f92865494c6efa1a0d5d90ffa849e85b80c8248 (patch)
tree01e0602110a7f2739306e77754e28731a00affca /youtube_dl/extractor/dumpert.py
parente41f450f2860ab5aa3f3a04bc646594c6dbc6714 (diff)
downloadyoutube-dl-1f92865494c6efa1a0d5d90ffa849e85b80c8248.tar.gz
youtube-dl-1f92865494c6efa1a0d5d90ffa849e85b80c8248.zip
[dumpert] Add cpc cookie (Closes #5672)
Diffstat (limited to 'youtube_dl/extractor/dumpert.py')
-rw-r--r--youtube_dl/extractor/dumpert.py2
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(