mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-04-16 03:54:52 +09:00
Merge b5a62498854921ae65997b80e2e956645a76c9d1 into c5098961b04ce83f4615f2a846c84f803b072639
This commit is contained in:
commit
6353fef0c1
@ -5,6 +5,7 @@ from .common import InfoExtractor
|
|||||||
from ..compat import compat_str
|
from ..compat import compat_str
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
determine_ext,
|
determine_ext,
|
||||||
|
ExtractorError,
|
||||||
int_or_none,
|
int_or_none,
|
||||||
parse_iso8601,
|
parse_iso8601,
|
||||||
try_get,
|
try_get,
|
||||||
@ -33,6 +34,9 @@ class RumbleEmbedIE(InfoExtractor):
|
|||||||
video = self._download_json(
|
video = self._download_json(
|
||||||
'https://rumble.com/embedJS/', video_id,
|
'https://rumble.com/embedJS/', video_id,
|
||||||
query={'request': 'video', 'v': video_id})
|
query={'request': 'video', 'v': video_id})
|
||||||
|
if not video:
|
||||||
|
raise ExtractorError('Unable to get video information. Please make sure that the URL is alive and playable in a browser.', expected=True)
|
||||||
|
|
||||||
title = video['title']
|
title = video['title']
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user