Git Product home page Git Product logo

baidumusicspider's Introduction

🍓 一些技能

工作上主要使用Java,所以比较多的关注Java及周边生态。业余时间做一些小产品、小工具,所以对Python、React也比较熟悉

🔗 联络方式

公众号:古时的风筝

👀 stats

 stats

👀 Top Languages

Top Langs

baidumusicspider's People

Contributors

huzhicheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

baidumusicspider's Issues

无法运行

设置好百度帐号密码后运行出错,查看代码后我发现了一些问题:

  1. spiderMan.py的第24行,root变量应该是当前目录吧,但按照你的原代码root = os.path.dirname(__file__)+"/"结果却是/,所以我认为应该改为root = os.getcwd()+"/"
    2.spiderMan.py的第47行中,我觉得斜线应该是用/而不是\

经过这些修改后,运行还是报错:

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'

如果我的描述有错请指真。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.