]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/funk.py
Allow extractors to specify section_start/end for clips
[yt-dlp.git] / yt_dlp / extractor / funk.py
index e5e32608fd6b864bd12ac6bb019d841c36a1183a..539d719c5bec228c78696686a351b5b458a8c587 100644 (file)
@@ -1,7 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-
 from .common import InfoExtractor
 from .nexx import NexxIE
 from ..utils import (
@@ -11,7 +7,7 @@
 
 
 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',