aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorAleksandar Topuzović <aleksandar.topuzovic@gmail.com>2017-10-07 23:40:08 +0100
committerSergey M <dstftw@gmail.com>2017-10-08 05:40:08 +0700
commitb0dde6686c7110c9c2515a808d803239a81e6505 (patch)
treeefece38d6b2bf1a8f49c99a494db36c143f3552c /youtube_dl
parenta22ccac1f02b5957f1f083a54e1f83d22a7e6f69 (diff)
[hrti] Relax _VALID_URL
Diffstat (limited to 'youtube_dl')
-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 656ce6d05..4f0369433 100644
--- a/youtube_dl/extractor/hrti.py
+++ b/youtube_dl/extractor/hrti.py
@@ -104,7 +104,7 @@ class HRTiIE(HRTiBaseIE):
(?:
hrti:(?P<short_id>[0-9]+)|
https?://
- hrti\.hrt\.hr/\#/video/show/(?P<id>[0-9]+)/(?P<display_id>[^/]+)?
+ hrti\.hrt\.hr/(?:\#/)?video/show/(?P<id>[0-9]+)/(?P<display_id>[^/]+)?
)
'''
_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):