From: Sergey M․ Date: Sat, 26 May 2018 15:22:28 +0000 (+0700) Subject: [cammodels] Use geo verification headers X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8882840ec5d9536772d7de75b7fb6389103a3a1a;p=youtube-dl [cammodels] Use geo verification headers --- 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)