0
0
Fork 0

[dumpert] Add cpc cookie (Closes #5672)

main
Sergey M․ 2015-05-11 21:05:39 +06:00
parent e41f450f28
commit 1f92865494
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class DumpertIE(InfoExtractor):
video_id = self._match_id(url) video_id = self._match_id(url)
req = compat_urllib_request.Request(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) webpage = self._download_webpage(req, video_id)
files_base64 = self._search_regex( files_base64 = self._search_regex(