diff options
author | sepro <sepro@sepr0.com> | 2024-10-20 15:18:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-20 15:18:15 +0200 |
commit | 8de431ec97a4b62b73df8f686b6e21e462775336 (patch) | |
tree | d0f86b9c4344d3c52e6ba76fbbb0906b446f1ab9 | |
parent | 679c68240a26481ea7c07cc0c014745631ea8481 (diff) |
[ie/Funk] Extend `_VALID_URL` (#11269)
Authored by: seproDev
-rw-r--r-- | yt_dlp/extractor/funk.py | 5 |
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): |