mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-19 05:35:33 +00: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):
|
||||
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…
Reference in New Issue
Block a user