[vidme] Use original vid.me title template for untitled videos

This commit is contained in:
Sergey M․ 2015-10-20 20:17:54 +06:00
parent 5b0aa2c7b1
commit 4a8963770e

View File

@ -107,7 +107,7 @@ class VidmeIE(InfoExtractor):
'info_dict': { 'info_dict': {
'id': 'e5g', 'id': 'e5g',
'ext': 'mp4', 'ext': 'mp4',
'title': 'e5g', 'title': 'Video upload (e5g)',
'thumbnail': 're:^https?://.*\.jpg', 'thumbnail': 're:^https?://.*\.jpg',
'timestamp': 1401480195, 'timestamp': 1401480195,
'upload_date': '20140530', 'upload_date': '20140530',
@ -180,7 +180,7 @@ def _real_extract(self, url):
return { return {
'id': video_id, 'id': video_id,
'title': title or video_id, 'title': title or 'Video upload (%s)' % video_id,
'description': description, 'description': description,
'thumbnail': thumbnail, 'thumbnail': thumbnail,
'uploader': uploader, 'uploader': uploader,