aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsepro <sepro@sepr0.com>2024-10-20 15:18:15 +0200
committerGitHub <noreply@github.com>2024-10-20 15:18:15 +0200
commit8de431ec97a4b62b73df8f686b6e21e462775336 (patch)
treed0f86b9c4344d3c52e6ba76fbbb0906b446f1ab9
parent679c68240a26481ea7c07cc0c014745631ea8481 (diff)
[ie/Funk] Extend `_VALID_URL` (#11269)
Authored by: seproDev
-rw-r--r--yt_dlp/extractor/funk.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/funk.py b/yt_dlp/extractor/funk.py
index 8bdea3fce..ef8ea72a8 100644
--- a/yt_dlp/extractor/funk.py
+++ b/yt_dlp/extractor/funk.py
@@ -3,7 +3,7 @@ from .nexx import NexxIE
class FunkIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.|origin\.)?funk\.net/(?:channel|playlist)/[^/]+/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)'
+ _VALID_URL = r'https?://(?:(?:www|origin|play)\.)?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': '8610449476156f338761a75391b0017d',
@@ -27,6 +27,9 @@ class FunkIE(InfoExtractor):
}, {
'url': 'https://www.funk.net/playlist/neuesteVideos/kameras-auf-dem-fusion-festival-1618699',
'only_matching': True,
+ }, {
+ 'url': 'https://play.funk.net/playlist/neuesteVideos/george-floyd-wenn-die-polizei-toetet-der-fall-2004391',
+ 'only_matching': True,
}]
def _real_extract(self, url):