0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[toggo] Fix _VALID_URL

Closes #2610
This commit is contained in:
pukkandan 2022-05-07 19:20:23 +05:30
parent 4f28b537d9
commit 895aeb71d7
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -4,7 +4,7 @@
class ToggoIE(InfoExtractor):
IE_NAME = 'toggo'
_VALID_URL = r'https?://(?:www\.)?toggo\.de/[\w-]+/folge/(?P<id>[\w-]+)'
_VALID_URL = r'https?://(?:www\.)?toggo\.de/[^/?#]+/folge/(?P<id>[^/?#]+)'
_TESTS = [{
'url': 'https://www.toggo.de/weihnachtsmann--co-kg/folge/ein-geschenk-fuer-zwei',
'info_dict': {
@ -27,6 +27,9 @@ class ToggoIE(InfoExtractor):
'upload_date': '20200217',
},
'params': {'skip_download': True},
}, {
'url': 'https://www.toggo.de/grizzy--die-lemminge/folge/ab-durch-die-wand-vogelfrei-rock\'n\'lemming',
'only_matching': True,
}]
def _real_extract(self, url):