0
0
Fork 0

[cammodels] Use geo verification headers

main
Sergey M․ 2018-05-26 22:22:28 +07:00
parent 2ce35d9f43
commit 8882840ec5
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ class CamModelsIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
user_id = self._match_id(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( manifest_root = self._html_search_regex(
r'manifestUrlRoot=([^&\']+)', webpage, 'manifest', default=None) r'manifestUrlRoot=([^&\']+)', webpage, 'manifest', default=None)