projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce35d9
)
[cammodels] Use geo verification headers
author
Sergey M․
<dstftw@gmail.com>
Sat, 26 May 2018 15:22:28 +0000
(22:22 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 26 May 2018 15:22:58 +0000
(22:22 +0700)
youtube_dl/extractor/cammodels.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cammodels.py
b/youtube_dl/extractor/cammodels.py
index 17f7ac0430a7d4b7c4becfa649b15c2ddcbdc39b..ee0165dbaa20c3b3d4ecca53fbb748cb3f823bf8 100644
(file)
--- a/
youtube_dl/extractor/cammodels.py
+++ b/
youtube_dl/extractor/cammodels.py
@@
-19,7
+19,8
@@
class CamModelsIE(InfoExtractor):
def _real_extract(self, url):
user_id = self._match_id(url)
- webpage = self._download_webpage(url, user_id)
+ webpage = self._download_webpage(
+ url, user_id, headers=self.geo_verification_headers())
manifest_root = self._html_search_regex(
r'manifestUrlRoot=([^&\']+)', webpage, 'manifest', default=None)