youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 1f92865494c6efa1a0d5d90ffa849e85b80c8248
parent e41f450f2860ab5aa3f3a04bc646594c6dbc6714
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 11 May 2015 21:05:39 +0600

[dumpert] Add cpc cookie (Closes #5672)

Diffstat:
Myoutube_dl/extractor/dumpert.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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(