mirror of https://github.com/yt-dlp/yt-dlp.git
parent
e183bb8c9b
commit
ef6342bd07
|
@ -4,7 +4,7 @@ from ..utils import int_or_none, parse_qs
|
||||||
|
|
||||||
class ToggoIE(InfoExtractor):
|
class ToggoIE(InfoExtractor):
|
||||||
IE_NAME = 'toggo'
|
IE_NAME = 'toggo'
|
||||||
_VALID_URL = r'https?://(?:www\.)?toggo\.de/(?:toggolino/)?[^/?#]+/folge/(?P<id>[^/?#]+)'
|
_VALID_URL = r'https?://(?:www\.)?toggo\.de/(?:toggolino/)?[^/?#]+/(?:folge|video)/(?P<id>[^/?#]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.toggo.de/weihnachtsmann--co-kg/folge/ein-geschenk-fuer-zwei',
|
'url': 'https://www.toggo.de/weihnachtsmann--co-kg/folge/ein-geschenk-fuer-zwei',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
@ -33,6 +33,9 @@ class ToggoIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://www.toggo.de/toggolino/paw-patrol/folge/der-wetter-zeppelin-der-chili-kochwettbewerb',
|
'url': 'https://www.toggo.de/toggolino/paw-patrol/folge/der-wetter-zeppelin-der-chili-kochwettbewerb',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.toggo.de/toggolino/paw-patrol/video/paw-patrol-rettung-im-anflug',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in New Issue