Git Product home page Git Product logo

Comments (11)

bjason avatar bjason commented on May 24, 2024

您试一下AlternativeMethodForPy2.py呢?
我电脑也是python2.7 成功运行啊…

from 163musictospotify.

HuLian21 avatar HuLian21 commented on May 24, 2024

输出成功,可是。。只有一首歌

from 163musictospotify.

HuLian21 avatar HuLian21 commented on May 24, 2024

python3

from 163musictospotify.

bjason avatar bjason commented on May 24, 2024

@HuLian21 昂 什么意思 是python2还是python3
py2的话AlternativeMethodForPy2.py应该是没问题的

from 163musictospotify.

jeffchrist avatar jeffchrist commented on May 24, 2024

同样,输出的txt只有歌单的第一首歌

from 163musictospotify.

HuLian21 avatar HuLian21 commented on May 24, 2024

是的 PY3 PY2的都可以成功,只是只有一首歌

from 163musictospotify.

bjason avatar bjason commented on May 24, 2024

python2.py和python3.py这两个是用的官方的API,最近在抽风,输出是只有一首歌的。AlternativeMethodForPy2.py换了别人的API,我个人是可以使用的,而且输出的是完整的歌单。
如果你们尝试用AlternativeMethodForPy2.py还是一样的话,如果方便可以留下你们使用的歌单ID吗?

from 163musictospotify.

HuLian21 avatar HuLian21 commented on May 24, 2024

那个AlternativeMethodForPy2.py貌似有点小问题,同样的ID, 其他脚本获取得到,这个获取不到
另外出现这个问题
Traceback (most recent call last):
File "C:\Users\USER\Desktop\AlternativeMethodForPy2.py", line 50, in
trackName = track["title"]
TypeError: string indices must be integers

id=128949764

from 163musictospotify.

bjason avatar bjason commented on May 24, 2024

@HuLian21 alternative那个方法是因为API更新了出的错,现在已经适配了,你可以重新试一下。但是因为是第三方API,貌似太长的歌单和隐藏的播放列表是不可以获取的…我去问问API的开发者吧😊
而python2和python3两个文件只输出一首歌是因为网易云API的问题,这个暂时无解…

from 163musictospotify.

fantasylidong avatar fantasylidong commented on May 24, 2024

无论哪个都只有一首歌

from 163musictospotify.

leon332157 avatar leon332157 commented on May 24, 2024

@bjason 加一个随机UA就好了

from 163musictospotify.

Related Issues (16)

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.