projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22ccac
)
[hrti] Relax _VALID_URL
author
Aleksandar Topuzović
<aleksandar.topuzovic@gmail.com>
Sat, 7 Oct 2017 22:40:08 +0000
(23:40 +0100)
committer
Sergey M
<dstftw@gmail.com>
Sat, 7 Oct 2017 22:40:08 +0000
(
05:40
+0700)
youtube_dl/extractor/hrti.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/hrti.py
b/youtube_dl/extractor/hrti.py
index 656ce6d0504180daa1f27495459599d47cebdae0..4f036943376e2f751fa2219101c3d7614540923d 100644
(file)
--- 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):