1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-09 14:12:51 +08:00

Add videakid as an alias for videa

It seems that `videakid.hu` is just an alternative domain for `videa.hu`
serving up the same videos, supporting the same download procedure.
This commit is contained in:
Grey Panther 2018-03-27 08:20:37 +03:00
parent bbd9d8c170
commit 046adf3ee6

View File

@ -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:^http://videa.hu/static/still/1.4.5.1007274.1204470.3.*',
'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