aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSematre <Sematre@gmx.de>2021-12-16 22:00:03 +0100
committerGitHub <noreply@github.com>2021-12-17 02:30:03 +0530
commit375d9360bf765bea5b42864d7e15cfe6d14941c4 (patch)
tree64e13aecf695d60a20bad3ff7db335436b715723
parentd5c3254889208a75d57c74868a7e7ce62be6b636 (diff)
downloadhypervideo-pre-375d9360bf765bea5b42864d7e15cfe6d14941c4.tar.lz
hypervideo-pre-375d9360bf765bea5b42864d7e15cfe6d14941c4.tar.xz
hypervideo-pre-375d9360bf765bea5b42864d7e15cfe6d14941c4.zip
[gronkh] Support new URL pattern (#2019)
Authored by: Sematre
-rw-r--r--yt_dlp/extractor/gronkh.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/gronkh.py b/yt_dlp/extractor/gronkh.py
index 58cd59511..c9f1dd256 100644
--- a/yt_dlp/extractor/gronkh.py
+++ b/yt_dlp/extractor/gronkh.py
@@ -6,7 +6,7 @@ from ..utils import unified_strdate
class GronkhIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?gronkh\.tv/stream/(?P<id>\d+)'
+ _VALID_URL = r'https?://(?:www\.)?gronkh\.tv/(?:watch/)?stream/(?P<id>\d+)'
_TESTS = [{
'url': 'https://gronkh.tv/stream/536',
@@ -19,6 +19,9 @@ class GronkhIE(InfoExtractor):
'upload_date': '20211001'
},
'params': {'skip_download': True}
+ }, {
+ 'url': 'https://gronkh.tv/watch/stream/546',
+ 'only_matching': True,
}]
def _real_extract(self, url):