aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/mgtv.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/mgtv.py')
-rw-r--r--youtube_dl/extractor/mgtv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mgtv.py b/youtube_dl/extractor/mgtv.py
index 9fbc74f5d..d970e94ec 100644
--- a/youtube_dl/extractor/mgtv.py
+++ b/youtube_dl/extractor/mgtv.py
@@ -26,7 +26,8 @@ class MGTVIE(InfoExtractor):
video_id = self._match_id(url)
api_data = self._download_json(
'http://v.api.mgtv.com/player/video', video_id,
- query={'video_id': video_id})['data']
+ query={'video_id': video_id},
+ headers=self.geo_verification_headers())['data']
info = api_data['info']
formats = []