projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41f450
)
[dumpert] Add cpc cookie (Closes #5672)
author
Sergey M․
<dstftw@gmail.com>
Mon, 11 May 2015 15:05:39 +0000
(21:05 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 11 May 2015 15:05:39 +0000
(21:05 +0600)
youtube_dl/extractor/dumpert.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dumpert.py
b/youtube_dl/extractor/dumpert.py
index 9c594b757e4bbe41371cc603441c4dd5230e7b74..999fb5620df2976073122fb95fbad1bb133f357a 100644
(file)
--- 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(