diff --git a/youtube_dl/extractor/kuwo.py b/youtube_dl/extractor/kuwo.py index 2b5321cc2..69afacac9 100644 --- a/youtube_dl/extractor/kuwo.py +++ b/youtube_dl/extractor/kuwo.py @@ -142,9 +142,8 @@ class KuwoAlbumIE(InfoExtractor): '%s简介:' % album_name) entries = [ - self.url_result('http://www.kuwo.cn/yinyue/%s/' % song_id, 'Kuwo', song_id) - for song_id in re.findall( - r'
]+class="listen">]+href="http://www\.kuwo\.cn/yinyue/(\d+)/"',
+ self.url_result(song_url, 'Kuwo') for song_url in re.findall(
+ r' ]+class="listen">]+href="(http://www\.kuwo\.cn/yinyue/\d+/)"',
webpage)
]
return self.playlist_result(entries, album_id, album_name, album_intro)
@@ -176,9 +175,8 @@ class KuwoChartIE(InfoExtractor):
r' ]+class="tabDef">(\d{4}第\d{2}期) ]+class="m_name">]+href="http://www\.kuwo\.cn/yinyue/([0-9]+)/',
+ self.url_result(song_url, 'Kuwo') for song_url in re.findall(
+ r'