[cammodels] Use geo verification headers

pull/16554/head
Sergey M․ 7 years ago
parent 2ce35d9f43
commit 8882840ec5
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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)

Loading…
Cancel
Save