aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-05-12 23:23:29 +0700
committerSergey M․ <dstftw@gmail.com>2019-05-12 23:24:01 +0700
commite6a25fea23c4ee1db2461e77b457d01dc922a0a6 (patch)
tree26140d17711c302b85894bfa38e6730ddf800567 /youtube_dl
parentb7df8f90a7d749ce609e7ff344464db73329117a (diff)
downloadyoutube-dl-e6a25fea23c4ee1db2461e77b457d01dc922a0a6.tar.xz
[svtplay] Update API URL (closes #21075)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/svt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/svt.py b/youtube_dl/extractor/svt.py
index 7aa1b5919..0901c3163 100644
--- a/youtube_dl/extractor/svt.py
+++ b/youtube_dl/extractor/svt.py
@@ -185,7 +185,7 @@ class SVTPlayIE(SVTPlayBaseIE):
def _extract_by_video_id(self, video_id, webpage=None):
data = self._download_json(
- 'https://api.svt.se/video/%s' % 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'):