]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vidme] Use original vid.me title template for untitled videos
authorSergey M․ <dstftw@gmail.com>
Tue, 20 Oct 2015 14:17:54 +0000 (20:17 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 20 Oct 2015 14:17:54 +0000 (20:17 +0600)
youtube_dl/extractor/vidme.py

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