This commit is contained in:
Mort Yao 2013-07-23 09:45:07 +08:00
parent ade1252a06
commit 568d40ed32

View File

@ -130,6 +130,10 @@ def xiami_download(url, output_dir = '.', stream_type = None, merge = True, info
if re.match('http://www.xiami.com/song/\d+', url):
id = r1(r'http://www.xiami.com/song/(\d+)', url)
xiami_download_song(id, output_dir, merge, info_only)
if re.match('http://www.xiami.com/song/detail/id/\d+', url):
id = r1(r'http://www.xiami.com/song/detail/id/(\d+)', url)
xiami_download_song(id, output_dir, merge, info_only)
site_info = "Xiami.com"
download = xiami_download