projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7df8f9
)
[svtplay] Update API URL (closes #21075)
author
Sergey M․
<dstftw@gmail.com>
Sun, 12 May 2019 16:23:29 +0000
(23:23 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 12 May 2019 16:24:01 +0000
(23:24 +0700)
youtube_dl/extractor/svt.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/svt.py
b/youtube_dl/extractor/svt.py
index 7aa1b591949b298f5b1eee1d4c57e23e7d889d5f..0901c3163e6cab4723d451b30df8574e359ba899 100644
(file)
--- 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/video
player-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'):