Comments (5)
Which song do you want to download? Could you please tell me the keyword?
It would be better if there were detailed screenshots.
from music-dl.
It seems that the error is not specific to any song. I tried several keywords and the same error occur.
$ python main.py -k "red"
[ 0 ] QQ | 0:03:43 - 3.41MB - Red - Taylor Swift - Red
[ 1 ] QQ | 0:04:14 - 3.88MB - Walk Away - Dia Frampton - Red
[ 2 ] QQ | 0:02:48 - 2.57MB - Red - 王嘉尔、ICE - Red
[ 3 ] QQ | 0:03:41 - 3.38MB - Red (In the Style of Taylor Swift) - Ameritz Top Tracks - Red
[ 4 ] QQ | 0:08:27 - 7.75MB - Red (DJ Vivona Remix) - Mephia、Bobby Starrr - Red
[ 5 ] NETEASE | 0:03:21 - 3.07MB - 빨개요 - 泫雅 - A Talk
请输入要下载的歌曲序号,多个序号用空格隔开:5
Traceback (most recent call last):
File "main.py", line 111, in <module>
main()
File "main.py", line 100, in main
downloadByIndexList(choices.split(),music_list)
File "main.py", line 46, in downloadByIndexList
addons.get(music['source']).download(music)
File "/home/test/Tools/music-dl/core/extractors/netease.py", line 110, in netease_download
music_download(music)
File "/home/test/Tools/music-dl/core/common.py", line 23, in music_download
wget.download(music['url'], out=outfile)
File "/usr/lib/python3.7/site-packages/wget.py", line 526, in download
(tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback)
File "/usr/lib/python3.7/urllib/request.py", line 245, in urlretrieve
url_type, path = splittype(url)
File "/usr/lib/python3.7/urllib/parse.py", line 956, in splittype
match = _typeprog.match(url)
TypeError: cannot use a string pattern on a bytes-like object
from music-dl.
Sorry, this error did not occur on my computer.
Where are you from?I suspect that NetEase may have blocked the IP of your country or area.
$ python main.py -k red
[ 0 ] QQ | 0:03:43 - 3.41MB - Red - Taylor Swift - Red
[ 1 ] QQ | 0:04:14 - 3.88MB - Walk Away - Dia Frampton - Red
[ 2 ] QQ | 0:02:48 - 2.57MB - Red - 王嘉尔、ICE - Red
[ 3 ] QQ | 0:03:41 - 3.38MB - Red (In the Style of Taylor Swift) - Ameritz Top Tracks - Red
[ 4 ] QQ | 0:08:27 - 7.75MB - Red (DJ Vivona Remix) - Mephia、Bobby Starrr - Red
[ 5 ] NETEASE | 0:02:48 - 2.57MB - Red - 王嘉尔、ICE - Red
[ 6 ] NETEASE | 0:03:21 - 3.07MB - 빨개요 - 泫雅 - A Talk
[ 7 ] NETEASE | 0:03:42 - 3.39MB - Red - T. Swift、Rina Johnson - Tribute to Taylor Swift
[ 8 ] KUGOU | 0:02:48 - 2.57MB - Red - 王嘉尔、ICE - Red
[ 9 ] KUGOU | 0:03:55 - 3.59MB - Red (Live) - Taylor Swift -
[ 10 ] KUGOU | 0:03:43 - 3.41MB - Red - Taylor Swift - Red (Deluxe Version)
[ 11 ] KUGOU | 0:03:19 - 3.05MB - 빨개요 (红) - 泫雅 - A Talk
[ 12 ] KUGOU | 0:03:49 - 3.5MB - Red (Instrumental With Background Vocals) - Taylor Swift -
[ 13 ] BAIDU | 0:02:24 - 2.2MB - Red - Eva O - Red
[ 14 ] BAIDU | 0:03:27 - 3.16MB - Red - Rafi Sanu, Kavita Krishnamurthy - Red
[ 15 ] BAIDU | 0:07:19 - 6.71MB - Red - Nadjiwan - Brother
[ 16 ] BAIDU | 0:02:27 - 2.26MB - Red - Federico Ferrandina - Federico Ferrandina-What We Are
[ 17 ] BAIDU | 0:03:12 - 2.94MB - Red - 스크류그래프트(ScrewGraft) - TotalMentalectomy
请输入要下载的歌曲序号,多个序号用空格隔开:6
100% [......................................................] 3218423 / 3218423
已保存到:/Users/hjk/workspace/music-dl/泫雅 - 빨개요.mp3
from music-dl.
Could you access this url
http://music.163.com/song/media/outer/url?id=28850659
from music-dl.
Oops... 404
Seems my IP address is blocked by netease.
from music-dl.
Related Issues (20)
- [BUG]qq音乐下载不了 HOT 3
- [BUG]网易云长歌单列表不全 HOT 5
- [Feature] 支持51ape
- [BUG]TypeError: __init__() got an unexpected keyword argument 'keyword'
- [BUG]智障网易云歌单无法抓取 HOT 2
- [BUG]
- [BUG] 输入获取的歌曲序号后, 未能进行下载. HOT 4
- [BUG]Pip 安装提示需要C++14.0以上生成工具
- [Feature]可以使用python代码调用的方式,而不是命令行的方式吗
- [Feature]能否只支持下载歌词,不下载歌曲
- [BUG]
- [Feature]请问如何在python中直接调用?
- 太赞了,好用
- 网易云的部分歌下载失败
- musicdl
- [BUG]
- [BUG] invalid literal for int() with base 10
- QQ音乐多数歌曲无法下载 HOT 2
- [BUG] --version选项错误
- 【原理上的小疑惑】如何下载专辑图至音频文件 HOT 3
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 music-dl.