mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-16 14:18:10 +01:00
[cammodels] Use geo verification headers
This commit is contained in:
parent
2ce35d9f43
commit
8882840ec5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user