mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[videa] Extend _VALID_URL
This commit is contained in:
parent
bbd9d8c170
commit
99c3091850
|
@ -16,7 +16,7 @@ from ..utils import (
|
||||||
class VideaIE(InfoExtractor):
|
class VideaIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
videa\.hu/
|
videa(?:kid)?\.hu/
|
||||||
(?:
|
(?:
|
||||||
videok/(?:[^/]+/)*[^?#&]+-|
|
videok/(?:[^/]+/)*[^?#&]+-|
|
||||||
player\?.*?\bv=|
|
player\?.*?\bv=|
|
||||||
|
@ -31,7 +31,7 @@ class VideaIE(InfoExtractor):
|
||||||
'id': '8YfIAjxwWGwT8HVQ',
|
'id': '8YfIAjxwWGwT8HVQ',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
||||||
'thumbnail': 'http://videa.hu/static/still/1.4.1.1007274.1204470.3',
|
'thumbnail': r're:^https?://.*',
|
||||||
'duration': 21,
|
'duration': 21,
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
@ -43,6 +43,15 @@ class VideaIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://videa.hu/player/v/8YfIAjxwWGwT8HVQ?autoplay=1',
|
'url': 'http://videa.hu/player/v/8YfIAjxwWGwT8HVQ?autoplay=1',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://videakid.hu/videok/origo/jarmuvek/supercars-elozes-jAHDWfWSJH5XuFhH',
|
||||||
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://videakid.hu/player?v=8YfIAjxwWGwT8HVQ',
|
||||||
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://videakid.hu/player/v/8YfIAjxwWGwT8HVQ?autoplay=1',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in a new issue