Browse Source

[cammodels] Use geo verification headers

master
Sergey M․ 6 years ago
parent
commit
8882840ec5
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/cammodels.py

3
youtube_dl/extractor/cammodels.py

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