about summary refs log tree commit diff
path: root/youtube_dl/extractor/qqmusic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-26 21:00:59 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-26 21:00:59 +0600
commitcd1bb54990dbe97b74a184022403cc30b0dbfe05 (patch)
tree97026b71777e5e2ee100e8e1a104f73b24e6f392 /youtube_dl/extractor/qqmusic.py
parentd4cd06138c70dd50d574c9a5d96bf585648373d5 (diff)
downloadyoutube-dl-cd1bb54990dbe97b74a184022403cc30b0dbfe05.tar.gz
youtube-dl-cd1bb54990dbe97b74a184022403cc30b0dbfe05.tar.xz
youtube-dl-cd1bb54990dbe97b74a184022403cc30b0dbfe05.zip
[qqmusic] Add test for a song with non .lrc lyrics
Diffstat (limited to 'youtube_dl/extractor/qqmusic.py')
-rw-r--r--youtube_dl/extractor/qqmusic.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/youtube_dl/extractor/qqmusic.py b/youtube_dl/extractor/qqmusic.py
index 21cf6f2d6..50b0d9f31 100644
--- a/youtube_dl/extractor/qqmusic.py
+++ b/youtube_dl/extractor/qqmusic.py
@@ -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 = {