[gronkh] Support new URL pattern (#2019)

Authored by: Sematre
pull/2023/head
Sematre 3 years ago committed by GitHub
parent d5c3254889
commit 375d9360bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ from ..utils import unified_strdate
class GronkhIE(InfoExtractor): 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 = [{ _TESTS = [{
'url': 'https://gronkh.tv/stream/536', 'url': 'https://gronkh.tv/stream/536',
@ -19,6 +19,9 @@ class GronkhIE(InfoExtractor):
'upload_date': '20211001' 'upload_date': '20211001'
}, },
'params': {'skip_download': True} 'params': {'skip_download': True}
}, {
'url': 'https://gronkh.tv/watch/stream/546',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):

Loading…
Cancel
Save