🍓 一些技能
工作上主要使用Java,所以比较多的关注Java及周边生态。业余时间做一些小产品、小工具,所以对Python、React也比较熟悉
本工具在Python 2.7.3版本下开发。百度新歌榜、热歌榜下载器,采用多线程方式,可快速抓取歌曲信息。需要Pyqt、BeautifulSoup的支持。
设置好百度帐号密码后运行出错,查看代码后我发现了一些问题:
root = os.path.dirname(__file__)+"/"
结果却是/
,所以我认为应该改为root = os.getcwd()+"/"
。/
而不是\
。经过这些修改后,运行还是报错:
Login fail
登录失败
耗时1.68429589272
Traceback (most recent call last):
File "spiderMan.py", line 375, in <module>
loaderWindow = Ui_MainWindow()
File "spiderMan.py", line 80, in __init__
self.setupUi(self)
File "spiderMan.py", line 298, in setupUi
self.table = self.createDataWidget()
File "spiderMan.py", line 110, in createDataWidget
songlist=codecs.open(root+"list.txt")
File "/usr/lib/python2.7/codecs.py", line 878, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/home/tigerstudent/Code/BaiduMusicSpider/list.txt'
如果我的描述有错请指真。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.