Comments (11)
您试一下AlternativeMethodForPy2.py呢?
我电脑也是python2.7 成功运行啊…
from 163musictospotify.
输出成功,可是。。只有一首歌
from 163musictospotify.
python3
from 163musictospotify.
@HuLian21 昂 什么意思 是python2还是python3
py2的话AlternativeMethodForPy2.py应该是没问题的
from 163musictospotify.
同样,输出的txt只有歌单的第一首歌
from 163musictospotify.
是的 PY3 PY2的都可以成功,只是只有一首歌
from 163musictospotify.
python2.py和python3.py这两个是用的官方的API,最近在抽风,输出是只有一首歌的。AlternativeMethodForPy2.py换了别人的API,我个人是可以使用的,而且输出的是完整的歌单。
如果你们尝试用AlternativeMethodForPy2.py还是一样的话,如果方便可以留下你们使用的歌单ID吗?
from 163musictospotify.
那个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.
@HuLian21 alternative那个方法是因为API更新了出的错,现在已经适配了,你可以重新试一下。但是因为是第三方API,貌似太长的歌单和隐藏的播放列表是不可以获取的…我去问问API的开发者吧😊
而python2和python3两个文件只输出一首歌是因为网易云API的问题,这个暂时无解…
from 163musictospotify.
无论哪个都只有一首歌
from 163musictospotify.
@bjason 加一个随机UA就好了
from 163musictospotify.
Related Issues (16)
- 哈哈,看来 po 主 对 Taylor Swift 有特殊的感情~~ HOT 3
- 只能输出一首歌 HOT 5
- 只能导出的一首歌 HOT 3
- 运行报错 HOT 2
- TypeError: the JSON object must be str, not 'bytes' HOT 1
- KeyError? HOT 2
- 解决官方API使用的方法
- 现在什么歌单都返回 1003
- 网易云导出问题 HOT 8
- error HOT 5
- Web 实现 yyrcd.com/n2s HOT 2
- 运行后提示成功后没有得到txt文件??
- 提示成功但是没有输出txt 文件 HOT 1
- 这个API只输出第一个歌曲的信息 HOT 4
- 只能提取第一首歌 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 163musictospotify.