aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/hrti.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-10-09 23:52:39 +0700
committerSergey M․ <dstftw@gmail.com>2017-10-09 23:52:39 +0700
commitae5af89079558e0e128dc4d7f033459e68ad81e6 (patch)
tree9e19de136cfbbbeb2824ac07519c81cc7805db67 /youtube_dl/extractor/hrti.py
parent197224b7a4e37a6581bf1a0da18d0f67ea61a476 (diff)
[hrti:playlist] Relax _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/hrti.py')
-rw-r--r--youtube_dl/extractor/hrti.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/hrti.py b/youtube_dl/extractor/hrti.py
index 7cef5f6ce..6424d34ac 100644
--- a/youtube_dl/extractor/hrti.py
+++ b/youtube_dl/extractor/hrti.py
@@ -173,7 +173,7 @@ class HRTiIE(HRTiBaseIE):
class HRTiPlaylistIE(HRTiBaseIE):
- _VALID_URL = r'https?://hrti\.hrt\.hr/#/video/list/category/(?P<id>[0-9]+)/(?P<display_id>[^/]+)?'
+ _VALID_URL = r'https?://hrti\.hrt\.hr/(?:#/)?video/list/category/(?P<id>[0-9]+)/(?P<display_id>[^/]+)?'
_TESTS = [{
'url': 'https://hrti.hrt.hr/#/video/list/category/212/ekumena',
'info_dict': {
@@ -185,6 +185,9 @@ class HRTiPlaylistIE(HRTiBaseIE):
}, {
'url': 'https://hrti.hrt.hr/#/video/list/category/212/',
'only_matching': True,
+ }, {
+ 'url': 'https://hrti.hrt.hr/video/list/category/212/ekumena',
+ 'only_matching': True,
}]
def _real_extract(self, url):