mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
[spiegel:article] Add support for nexx iframe embeds (closes #13029)
This commit is contained in:
parent
749ca5eced
commit
00d06e3cfc
@ -4,6 +4,7 @@ from __future__ import unicode_literals
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
|
from .nexx import NexxEmbedIE
|
||||||
from .spiegeltv import SpiegeltvIE
|
from .spiegeltv import SpiegeltvIE
|
||||||
from ..compat import compat_urlparse
|
from ..compat import compat_urlparse
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
@ -143,6 +144,9 @@ class SpiegelArticleIE(InfoExtractor):
|
|||||||
entries = [
|
entries = [
|
||||||
self.url_result(compat_urlparse.urljoin(
|
self.url_result(compat_urlparse.urljoin(
|
||||||
self.http_scheme() + '//spiegel.de/', embed_path))
|
self.http_scheme() + '//spiegel.de/', embed_path))
|
||||||
for embed_path in embeds
|
for embed_path in embeds]
|
||||||
]
|
if embeds:
|
||||||
return self.playlist_result(entries)
|
return self.playlist_result(entries)
|
||||||
|
|
||||||
|
return self.playlist_from_matches(
|
||||||
|
NexxEmbedIE._extract_urls(webpage), ie=NexxEmbedIE.ie_key())
|
||||||
|
Loading…
Reference in New Issue
Block a user