From: Sergey M․ Date: Mon, 11 May 2015 15:05:39 +0000 (+0600) Subject: [dumpert] Add cpc cookie (Closes #5672) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1f92865494c6efa1a0d5d90ffa849e85b80c8248;p=youtube-dl [dumpert] Add cpc cookie (Closes #5672) --- 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(