mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Merge branch 'master' of github.com:rg3/youtube-dl
This commit is contained in:
commit
8be874370d
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class JukeboxIE(InfoExtractor):
|
||||||
_VALID_URL = r'^http://www\.jukebox?\..+?\/.+[,](?P<video_id>[a-z0-9\-]+)\.html'
|
_VALID_URL = r'^http://www\.jukebox?\..+?\/.+[,](?P<video_id>[a-z0-9\-]+)\.html'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://www.jukebox.es/kosheen/videoclip,pride,r303r.html',
|
'url': 'http://www.jukebox.es/kosheen/videoclip,pride,r303r.html',
|
||||||
'md5': '5dc6477e74b1e37042ac5acedd8413e5',
|
'md5': '1574e9b4d6438446d5b7dbcdf2786276',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'r303r',
|
'id': 'r303r',
|
||||||
'ext': 'flv',
|
'ext': 'flv',
|
||||||
|
|
|
@ -47,7 +47,7 @@ def _real_extract(self, url):
|
||||||
author = video.get('author') or {}
|
author = video.get('author') or {}
|
||||||
|
|
||||||
options = self._download_json(
|
options = self._download_json(
|
||||||
'http://rutube.ru/api/play/options/%s/?format=json' %video_id,
|
'http://rutube.ru/api/play/options/%s/?format=json' % video_id,
|
||||||
video_id, 'Downloading options JSON')
|
video_id, 'Downloading options JSON')
|
||||||
|
|
||||||
m3u8_url = options['video_balancer'].get('m3u8')
|
m3u8_url = options['video_balancer'].get('m3u8')
|
||||||
|
|
Loading…
Reference in a new issue