diff options
author | Yen Chi Hsuan <[email protected]> | 2015-07-06 17:54:41 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2015-07-06 17:54:41 +0800 |
commit | 85a064861f5213abf2b56dd671e1f45188a02adf (patch) | |
tree | f7ad46660a2fc5a8d013c0fc7e2f33d461698c7d | |
parent | d0b436bff275d04e9646d671926c0ae73ba6a939 (diff) | |
download | youtube-dl-85a064861f5213abf2b56dd671e1f45188a02adf.tar.gz youtube-dl-85a064861f5213abf2b56dd671e1f45188a02adf.zip |
[qqmusic] Use regex for thumbnails in test cases
-rw-r--r-- | youtube_dl/extractor/qqmusic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/qqmusic.py b/youtube_dl/extractor/qqmusic.py index 8a724ab51..476432330 100644 --- a/youtube_dl/extractor/qqmusic.py +++ b/youtube_dl/extractor/qqmusic.py @@ -27,7 +27,7 @@ class QQMusicIE(InfoExtractor): 'upload_date': '20141227', 'creator': '林俊杰', 'description': 'md5:d327722d0361576fde558f1ac68a7065', - 'thumbnail': 'http://i.gtimg.cn/music/photo/mid_album_500/7/p/001IV22P1RDX7p.jpg', + 'thumbnail': 're:^https?://.*\.jpg$', } }, { 'note': 'There is no mp3-320 version of this song.', @@ -40,7 +40,7 @@ class QQMusicIE(InfoExtractor): 'upload_date': '20050626', 'creator': '李季美', 'description': 'md5:46857d5ed62bc4ba84607a805dccf437', - 'thumbnail': 'http://i.gtimg.cn/music/photo/mid_album_500/r/Q/0042owYj46IxrQ.jpg', + 'thumbnail': 're:^https?://.*\.jpg$', } }] |