mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 15:22:35 +00:00
parent
aa062713c1
commit
fdf80059d9
2 changed files with 2 additions and 3 deletions
|
@ -1874,6 +1874,7 @@ class GenericIE(InfoExtractor):
|
||||||
'add_ie': [RutubeIE.ie_key()],
|
'add_ie': [RutubeIE.ie_key()],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
# glomex:embed
|
||||||
'url': 'https://www.skai.gr/news/world/iatrikos-syllogos-tourkias-to-turkovac-aplo-dialyma-erntogan-eiste-apateones-kai-pseytes',
|
'url': 'https://www.skai.gr/news/world/iatrikos-syllogos-tourkias-to-turkovac-aplo-dialyma-erntogan-eiste-apateones-kai-pseytes',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'v-ch2nkhcirwc9-sf',
|
'id': 'v-ch2nkhcirwc9-sf',
|
||||||
|
|
|
@ -75,7 +75,7 @@ class GlomexBaseIE(InfoExtractor):
|
||||||
format_url, video_id, 'mp4', m3u8_id=format_id,
|
format_url, video_id, 'mp4', m3u8_id=format_id,
|
||||||
fatal=False)
|
fatal=False)
|
||||||
formats.extend(formats_)
|
formats.extend(formats_)
|
||||||
subs.update(subs_)
|
self._merge_subtitles(subs_, target=subs)
|
||||||
else:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': format_url,
|
'url': format_url,
|
||||||
|
@ -205,8 +205,6 @@ class GlomexEmbedIE(GlomexBaseIE):
|
||||||
mdict = mobj.groupdict()
|
mdict = mobj.groupdict()
|
||||||
if mdict.get('url'):
|
if mdict.get('url'):
|
||||||
url = unescapeHTML(mdict['url'])
|
url = unescapeHTML(mdict['url'])
|
||||||
if url.startswith('//'):
|
|
||||||
url = f'https:{url}'
|
|
||||||
if not cls.suitable(url):
|
if not cls.suitable(url):
|
||||||
continue
|
continue
|
||||||
yield cls._smuggle_origin_url(url, origin_url)
|
yield cls._smuggle_origin_url(url, origin_url)
|
||||||
|
|
Loading…
Reference in a new issue