2012年12月24日

python下载百度音乐

摘要: 1 # -*- coding: UTF-8 -*- 2 3 # Created on 2012-11-21 4 5 6 7 #下载百度音乐 8 import urllib 9 import re10 11 baseurl = "http://music.baidu.com"12 url = "http://music.baidu.com/search/tag?key=经典流行"13 html = urllib.urlopen(url).read()14 uri = re.findall(r'/song/\d+', html, re.M)1 阅读全文

posted @ 2012-12-24 14:23 般若2013 阅读(115) 评论(0) 推荐(0) 编辑

导航