aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-03-21 22:39:35 +0700
committerSergey M․ <dstftw@gmail.com>2019-03-21 22:39:35 +0700
commitc4580580f58d004a0e4e9a5d90b0a44cdd69c7e5 (patch)
tree724f82963f92d8d17cc0b5892434bfcf964e4206 /youtube_dl/extractor
parent0a8e251b35db6a05949c61ee4e56b678697f08a0 (diff)
[svtplay] Update API endpoint (closes #20430)
Diffstat (limited to 'youtube_dl/extractor')
-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 0901c3163..7aa1b5919 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/videoplayer-api/video/%s' % video_id,
+ 'https://api.svt.se/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'):