1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-11 07:07:46 +08:00

[HRTi] new urls are wihout #

* Seems that the new URLs are without #
This commit is contained in:
Aleksandar Topuzovic 2017-10-07 16:57:27 +01:00
parent 8b561bfc9d
commit 41936d9dc6
No known key found for this signature in database
GPG Key ID: 8D7CDD3C562180B7

View File

@ -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):