[funk] Support origin URLs

Closes #2270
pull/2290/head
pukkandan 2 years ago
parent f95a7b93e6
commit 2be56f2242
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -9,9 +9,9 @@ from ..utils import (
str_or_none,
)
#2270
class FunkIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?funk\.net/(?:channel|playlist)/[^/]+/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)'
_VALID_URL = r'https?://(?:www\.|origin\.)?funk\.net/(?:channel|playlist)/[^/]+/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)'
_TESTS = [{
'url': 'https://www.funk.net/channel/ba-793/die-lustigsten-instrumente-aus-dem-internet-teil-2-1155821',
'md5': '8dd9d9ab59b4aa4173b3197f2ea48e81',

Loading…
Cancel
Save