[on.orf.at] add better tests

this test file has no kill_date,
so I hope it will be online for longer
old one would be not available after "2024-08-12T21:05:00+02:00"
This commit is contained in:
tuxcoder 2024-04-12 21:25:37 +02:00
parent 90a4ecb25a
commit f51d16b307
1 changed files with 9 additions and 8 deletions

View File

@ -571,17 +571,18 @@ class ORFONIE(InfoExtractor):
IE_NAME = 'orf:on'
_VALID_URL = r'https?://on\.orf\.at/video/(?P<id>\d+)(/(?P<slug>[\w-]+))?'
_TESTS = [{
'url': 'https://on.orf.at/video/14210000/school-of-champions-48',
'url': 'https://on.orf.at/video/3220355',
'md5': 'f94d98e667cf9a3851317efb4e136662',
'info_dict': {
'id': '14210000',
'id': '3220355',
'ext': 'mp4',
'duration': 2651.08,
'thumbnail': 'https://api-tvthek.orf.at/assets/segments/0167/98/thumb_16697671_segments_highlight_teaser.jpeg',
'title': 'School of Champions (4/8)',
'description': 'md5:d09ad279fc2e8502611e7648484b6afd',
'duration': 445.04,
'thumbnail': 'https://api-tvthek.orf.at/assets/segments/0002/60/thumb_159573_segments_highlight_teaser.png',
'title': '50 Jahre Burgenland: Der Festumzug',
'description': 'md5:1560bf855119544ee8c4fa5376a2a6b0',
'media_type': 'episode',
'timestamp': 1706472362,
'upload_date': '20240128',
'timestamp': 52916400,
'upload_date': '19710905',
}
}]