mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
[cleanup] Move embed tests to dedicated extractors (#13782)
Authored by: doe1080
This commit is contained in:
parent
71f30921a2
commit
1c6068af99
59 changed files with 4770 additions and 5480 deletions
|
|
@ -37,7 +37,7 @@ class VideaIE(InfoExtractor):
|
|||
'id': '8YfIAjxwWGwT8HVQ',
|
||||
'ext': 'mp4',
|
||||
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
||||
'thumbnail': r're:^https?://.*',
|
||||
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||
'duration': 21,
|
||||
'age_limit': 0,
|
||||
},
|
||||
|
|
@ -48,7 +48,7 @@ class VideaIE(InfoExtractor):
|
|||
'id': 'jAHDWfWSJH5XuFhH',
|
||||
'ext': 'mp4',
|
||||
'title': 'Supercars előzés',
|
||||
'thumbnail': r're:^https?://.*',
|
||||
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||
'duration': 64,
|
||||
'age_limit': 0,
|
||||
},
|
||||
|
|
@ -59,7 +59,7 @@ class VideaIE(InfoExtractor):
|
|||
'id': '8YfIAjxwWGwT8HVQ',
|
||||
'ext': 'mp4',
|
||||
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
|
||||
'thumbnail': r're:^https?://.*',
|
||||
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||
'duration': 21,
|
||||
'age_limit': 0,
|
||||
},
|
||||
|
|
@ -76,6 +76,25 @@ class VideaIE(InfoExtractor):
|
|||
'url': 'https://videakid.hu/player/v/8YfIAjxwWGwT8HVQ?autoplay=1',
|
||||
'only_matching': True,
|
||||
}]
|
||||
_WEBPAGE_TESTS = [{
|
||||
'url': 'https://www.kapucziner.hu/',
|
||||
'info_dict': {
|
||||
'id': '95yhJCdK2dX1T5Nh',
|
||||
'ext': 'mp4',
|
||||
'title': 'Nemzetközi díjat kapott a győri kávémanufaktúra',
|
||||
'age_limit': 0,
|
||||
'duration': 207,
|
||||
'thumbnail': r're:https?://videa\.hu/static/still/.+',
|
||||
},
|
||||
}, {
|
||||
# FIXME: No video formats found
|
||||
'url': 'https://hirtv.hu/hirtv_kesleltetett',
|
||||
'info_dict': {
|
||||
'id': 'IDRqF7W9X0GXHGj1',
|
||||
'ext': 'mp4',
|
||||
'title': 'Hír TV - 60 perccel késleltetett adás',
|
||||
},
|
||||
}]
|
||||
_STATIC_SECRET = 'xHb0ZvME5q8CBcoQi6AngerDu3FGO9fkUlwPmLVY_RTzj2hJIS4NasXWKy1td7p'
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue