mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 17:08:32 +00:00
Use _EMBED_REGEX
This commit is contained in:
parent
4cc768576f
commit
ce19f1b486
@ -6,7 +6,6 @@
|
||||
|
||||
from .common import InfoExtractor
|
||||
from .commonprotocols import RtmpIE
|
||||
from .easybroadcast import EasyBroadcastLiveIE
|
||||
from .youtube import YoutubeIE
|
||||
from ..compat import compat_etree_fromstring
|
||||
from ..cookies import LenientSimpleCookie
|
||||
@ -805,16 +804,6 @@ class GenericIE(InfoExtractor):
|
||||
},
|
||||
'skip': 'All The Daily Show URLs now redirect to http://www.cc.com/shows/',
|
||||
},
|
||||
# EasyBroadcast embed
|
||||
{
|
||||
'url': 'https://al24news.dz/en/live',
|
||||
'info_dict': {
|
||||
'id': '66_al24_u4yga6h',
|
||||
'title': 'Al24',
|
||||
'ext': 'mp4',
|
||||
'live_status': 'is_live',
|
||||
},
|
||||
},
|
||||
# jwplayer YouTube
|
||||
{
|
||||
'url': 'http://media.nationalarchives.gov.uk/index.php/webinar-using-discovery-national-archives-online-catalogue/',
|
||||
@ -2623,13 +2612,6 @@ def _extract_embeds(self, url, webpage, *, urlh=None, info_dict={}):
|
||||
if embeds:
|
||||
return embeds
|
||||
|
||||
# EasyBroadcast embed
|
||||
mobj = re.search(
|
||||
EasyBroadcastLiveIE._VALID_URL,
|
||||
webpage)
|
||||
if mobj is not None:
|
||||
return [self.url_result(mobj.group(0), ie=EasyBroadcastLiveIE)]
|
||||
|
||||
jwplayer_data = self._find_jwplayer_data(
|
||||
webpage, video_id, transform_source=js_to_json)
|
||||
if jwplayer_data:
|
||||
|
Loading…
Reference in New Issue
Block a user