]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/svt.py
Updated version 2017.10.15.1 from 'upstream/2017.10.15.1'
[youtubedl] / youtube_dl / extractor / svt.py
index 1b5afb73ee473b23e78c27caba6708ce9ceb348f..48bc4529e6ae8a265a672c066ac59b388ea3a5d5 100644 (file)
@@ -181,7 +181,8 @@ class SVTPlayIE(SVTBaseIE):
 
         if video_id:
             data = self._download_json(
-                'http://www.svt.se/videoplayer-api/video/%s' % video_id, video_id)
+                'https://api.svt.se/videoplayer-api/video/%s' % video_id,
+                video_id, headers=self.geo_verification_headers())
             info_dict = self._extract_video(data, video_id)
             if not info_dict.get('title'):
                 info_dict['title'] = re.sub(