- _VALID_URL = r'https?://(?:www\.)?meipai.com/media/(?P<id>[0-9]+)'
- _TESTS = [
- {
- 'url': 'http://www.meipai.com/media/531697625',
- 'md5': 'e3e9600f9e55a302daecc90825854b4f',
- 'info_dict': {
- 'id': '531697625',
- 'ext': 'mp4',
- 'title': '#葉子##阿桑##余姿昀##超級女聲#',
- 'description': '#葉子##阿桑##余姿昀##超級女聲#',
- 'thumbnail': 're:^https?://.*\.jpg$',
- 'creator': '她她-TATA',
- 'tags': ['葉子', '阿桑', '余姿昀', '超級女聲'],
- 'release_date': 1465492420,
- }
- },
- {
- 'url': 'http://www.meipai.com/media/576409659',
- 'md5': '2e807c16ebe67b8b6b3c8dcacbc32f48',
- 'info_dict': {
- 'id': '576409659',
- 'ext': 'mp4',
- 'title': '#失語者##蔡健雅##吉他彈唱#',
- 'description': '#失語者##蔡健雅##吉他彈唱#',
- 'thumbnail': 're:^https?://.*\.jpg$',
- 'creator': '她她-TATA',
- 'tags': ['失語者', '蔡健雅', '吉他彈唱'],
- 'release_date': 1472534847,
- }
- },
+ _VALID_URL = r'https?://(?:www\.)?meipai\.com/media/(?P<id>[0-9]+)'
+ _TESTS = [{
+ # regular uploaded video
+ 'url': 'http://www.meipai.com/media/531697625',
+ 'md5': 'e3e9600f9e55a302daecc90825854b4f',
+ 'info_dict': {
+ 'id': '531697625',
+ 'ext': 'mp4',
+ 'title': '#葉子##阿桑##余姿昀##超級女聲#',
+ 'description': '#葉子##阿桑##余姿昀##超級女聲#',
+ 'thumbnail': r're:^https?://.*\.jpg$',
+ 'duration': 152,
+ 'timestamp': 1465492420,
+ 'upload_date': '20160609',
+ 'view_count': 35511,
+ 'creator': '她她-TATA',
+ 'tags': ['葉子', '阿桑', '余姿昀', '超級女聲'],
+ }
+ }, {