From b0dde6686c7110c9c2515a808d803239a81e6505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksandar=20Topuzovi=C4=87?= Date: Sat, 7 Oct 2017 23:40:08 +0100 Subject: [PATCH] [hrti] Relax _VALID_URL --- youtube_dl/extractor/hrti.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/hrti.py b/youtube_dl/extractor/hrti.py index 656ce6d05..4f0369433 100644 --- a/youtube_dl/extractor/hrti.py +++ b/youtube_dl/extractor/hrti.py @@ -104,7 +104,7 @@ class HRTiIE(HRTiBaseIE): (?: hrti:(?P[0-9]+)| https?:// - hrti\.hrt\.hr/\#/video/show/(?P[0-9]+)/(?P[^/]+)? + hrti\.hrt\.hr/(?:\#/)?video/show/(?P[0-9]+)/(?P[^/]+)? ) ''' _TESTS = [{ @@ -129,6 +129,9 @@ class HRTiIE(HRTiBaseIE): }, { 'url': 'hrti:2181385', 'only_matching': True, + }, { + 'url': 'https://hrti.hrt.hr/video/show/3873068/cuvar-dvorca-dramska-serija-14', + 'only_matching': True, }] def _real_extract(self, url):