1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-16 06:34:31 +01:00

[cammodels] Use geo verification headers

This commit is contained in:
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

View File

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