[appletrailers] Quotes consistency

pull/7040/merge
Sergey M․ 9 years ago
parent 9d5332518c
commit e759a00119

@ -13,53 +13,53 @@ from ..utils import (
class AppleTrailersIE(InfoExtractor): class AppleTrailersIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/(?:trailers|ca)/(?P<company>[^/]+)/(?P<movie>[^/]+)' _VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/(?:trailers|ca)/(?P<company>[^/]+)/(?P<movie>[^/]+)'
_TESTS = [{ _TESTS = [{
"url": "http://trailers.apple.com/trailers/wb/manofsteel/", 'url': 'http://trailers.apple.com/trailers/wb/manofsteel/',
'info_dict': { 'info_dict': {
'id': 'manofsteel', 'id': 'manofsteel',
}, },
"playlist": [ 'playlist': [
{ {
"md5": "d97a8e575432dbcb81b7c3acb741f8a8", 'md5': 'd97a8e575432dbcb81b7c3acb741f8a8',
"info_dict": { 'info_dict': {
"id": "manofsteel-trailer4", 'id': 'manofsteel-trailer4',
"ext": "mov", 'ext': 'mov',
"duration": 111, 'duration': 111,
"title": "Trailer 4", 'title': 'Trailer 4',
"upload_date": "20130523", 'upload_date': '20130523',
"uploader_id": "wb", 'uploader_id': 'wb',
}, },
}, },
{ {
"md5": "b8017b7131b721fb4e8d6f49e1df908c", 'md5': 'b8017b7131b721fb4e8d6f49e1df908c',
"info_dict": { 'info_dict': {
"id": "manofsteel-trailer3", 'id': 'manofsteel-trailer3',
"ext": "mov", 'ext': 'mov',
"duration": 182, 'duration': 182,
"title": "Trailer 3", 'title': 'Trailer 3',
"upload_date": "20130417", 'upload_date': '20130417',
"uploader_id": "wb", 'uploader_id': 'wb',
}, },
}, },
{ {
"md5": "d0f1e1150989b9924679b441f3404d48", 'md5': 'd0f1e1150989b9924679b441f3404d48',
"info_dict": { 'info_dict': {
"id": "manofsteel-trailer", 'id': 'manofsteel-trailer',
"ext": "mov", 'ext': 'mov',
"duration": 148, 'duration': 148,
"title": "Trailer", 'title': 'Trailer',
"upload_date": "20121212", 'upload_date': '20121212',
"uploader_id": "wb", 'uploader_id': 'wb',
}, },
}, },
{ {
"md5": "5fe08795b943eb2e757fa95cb6def1cb", 'md5': '5fe08795b943eb2e757fa95cb6def1cb',
"info_dict": { 'info_dict': {
"id": "manofsteel-teaser", 'id': 'manofsteel-teaser',
"ext": "mov", 'ext': 'mov',
"duration": 93, 'duration': 93,
"title": "Teaser", 'title': 'Teaser',
"upload_date": "20120721", 'upload_date': '20120721',
"uploader_id": "wb", 'uploader_id': 'wb',
}, },
}, },
] ]

Loading…
Cancel
Save