diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-05-26 22:22:28 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-05-26 22:22:58 +0700 |
commit | 8882840ec5d9536772d7de75b7fb6389103a3a1a (patch) | |
tree | dda8679cdabf6e548904059ac8fc92c510dae765 /youtube_dl/extractor/cammodels.py | |
parent | 2ce35d9f43328e82108bae6661c2ac0ba2a0498c (diff) |
[cammodels] Use geo verification headers
Diffstat (limited to 'youtube_dl/extractor/cammodels.py')
-rw-r--r-- | youtube_dl/extractor/cammodels.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cammodels.py b/youtube_dl/extractor/cammodels.py index 17f7ac043..ee0165dba 100644 --- 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) |