1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-01-10 07:07:55 +01:00

[picta] Fix Tests Picta

This commit is contained in:
Oleksis 2019-02-16 22:36:31 -05:00
parent 270fcc1d74
commit 62b9e7c2c6

View File

@ -57,12 +57,19 @@ class PictaIE(PictaBaseIE):
_TESTS = [{
'url': 'https://www.picta.cu/medias/orishas-everyday-2019-01-16-16-36-42-443003',
'file': 'Orishas - Everyday-orishas-everyday-2019-01-16-16-36-42-443003.webm',
'md5': 'ebd10d5a34f23059e08419aa123aebdb',
'md5': '7ffdeb0043500c4bb660c04e74e90f7a',
'info_dict': {
'id': '818',
'id': 'orishas-everyday-2019-01-16-16-36-42-443003',
'ext': 'webm',
'title': 'Orishas - Everyday',
'thumbnail': r're:^https?://.*imagen/img.*\.png$',
'upload_date': '20190116',
'description': 'Orishas - Everyday (Video Oficial)',
'uploader': 'admin',
'timestamp': 1547656602,
},
'params': {
'format': '4',
},
}, {
'url': 'https://www.picta.cu/embed/?v=818',
@ -101,13 +108,20 @@ class PictaEmbedIE(InfoExtractor):
_TEST = {
'url': 'https://www.picta.cu/embed/?v=818',
'file': 'Orishas - Everyday-orishas-everyday-2019-01-16-16-36-42-443003.webm',
'md5': 'ebd10d5a34f23059e08419aa123aebdb',
'md5': '7ffdeb0043500c4bb660c04e74e90f7a',
'info_dict': {
'id': '818',
'id': 'orishas-everyday-2019-01-16-16-36-42-443003',
'ext': 'webm',
'title': 'Orishas - Everyday',
'thumbnail': r're:^https?://.*imagen/img.*\.png$',
}
'upload_date': '20190116',
'description': 'Orishas - Everyday (Video Oficial)',
'uploader': 'admin',
'timestamp': 1547656602,
},
'params': {
'format': '4',
},
}
def _real_extract(self, url):