commit 8882840ec5d9536772d7de75b7fb6389103a3a1a
parent 2ce35d9f43328e82108bae6661c2ac0ba2a0498c
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 26 May 2018 22:22:28 +0700

[cammodels] Use geo verification headers

Diffstat:
Myoutube_dl/extractor/cammodels.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

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