[qqmusic] Add test for a song with non .lrc lyrics
authorSergey M․ <dstftw@gmail.com>
Sat, 26 Sep 2015 15:00:59 +0000 (21:00 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 26 Sep 2015 15:00:59 +0000 (21:00 +0600)
youtube_dl/extractor/qqmusic.py

index 21cf6f2d6f0d31544aebb4807ab4b0cd16946529..50b0d9f31d1bc16520894a296db9c471e89ea405 100644 (file)
@@ -43,6 +43,21 @@ class QQMusicIE(InfoExtractor):
             'description': 'md5:46857d5ed62bc4ba84607a805dccf437',
             'thumbnail': 're:^https?://.*\.jpg$',
         }
+    }, {
+        'note': 'lyrics not in .lrc format',
+        'url': 'http://y.qq.com/#type=song&mid=001JyApY11tIp6',
+        'info_dict': {
+            'id': '001JyApY11tIp6',
+            'ext': 'mp3',
+            'title': 'Shadows Over Transylvania',
+            'upload_date': '19970225',
+            'creator': 'Dark Funeral',
+            'description': 'md5:ed14d5bd7ecec19609108052c25b2c11',
+            'thumbnail': 're:^https?://.*\.jpg$',
+        },
+        'params': {
+            'skip_download': True,
+        },
     }]
 
     _FORMATS = {