[extractor/cda] Fix tests

This commit is contained in:
Szpachlarz 2023-03-27 00:04:08 +02:00
parent 24870b8df0
commit 3156c822f2
1 changed files with 10 additions and 8 deletions

View File

@ -62,26 +62,28 @@ class CDAIE(InfoExtractor):
'description': 'md5:60d76b71186dcce4e0ba6d4bbdb13e1a',
'thumbnail': r're:^https?://.*\.jpg$',
'uploader': 'crash404',
'view_count': int,
'average_rating': float,
'duration': 137,
'age_limit': 0,
'upload_date': '20160220',
'timestamp': 1455968218,
}
}, {
# Age-restricted
'url': 'http://www.cda.pl/video/1273454c4',
'url': 'https://www.cda.pl/video/12537327dd',
'info_dict': {
'id': '1273454c4',
'id': '12537327dd',
'ext': 'mp4',
'title': 'Bronson (2008) napisy HD 1080p',
'description': 'md5:1b6cb18508daf2dc4e0fa4db77fec24c',
'title': 'Egzorcysta (Showmax) - s01e06 - Utopce',
'description': 'md5:0b256b7ea8f4a3f19af842500eaf49c5',
'height': 1080,
'uploader': 'boniek61',
'uploader': 'pan-pingwin',
'thumbnail': r're:^https?://.*\.jpg$',
'duration': 5554,
'duration': 786.0,
'age_limit': 18,
'view_count': int,
'average_rating': float,
'timestamp': 1669314139,
'upload_date': '20221124',
},
}, {
'url': 'http://ebd.cda.pl/0x0/5749950c',