diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-02-07 21:52:15 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-02-07 21:52:15 +0700 |
commit | 9f4ec3de2557e6277f0d3cf2118250d005419a40 (patch) | |
tree | 09eab25fd9f7abc9d06c2197872dcc112170659a /youtube_dl/extractor/gameinformer.py | |
parent | 96a0bbdd0d3f87313b0d517fca94e60ed2944dd9 (diff) |
[gameinformer] Use geo verification headers
Diffstat (limited to 'youtube_dl/extractor/gameinformer.py')
-rw-r--r-- | youtube_dl/extractor/gameinformer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gameinformer.py b/youtube_dl/extractor/gameinformer.py index 239c1961d..b286b5ed3 100644 --- a/youtube_dl/extractor/gameinformer.py +++ b/youtube_dl/extractor/gameinformer.py @@ -23,7 +23,8 @@ class GameInformerIE(InfoExtractor): def _real_extract(self, url): display_id = self._match_id(url) - webpage = self._download_webpage(url, display_id) + webpage = self._download_webpage( + url, display_id, headers=self.geo_verification_headers()) brightcove_id = self._search_regex( [r'<[^>]+\bid=["\']bc_(\d+)', r"getVideo\('[^']+video_id=(\d+)"], webpage, 'brightcove id') |