查看: 10604|回复: 9

【教程】网易云音乐官方搜索引擎获取mp3外链(超级稳定)

[复制链接]

该用户从未签到

发表于 2016-8-18 13:50:58 | 显示全部楼层 |阅读模式
本帖最后由 我特殊也普通 于 2016-8-18 14:03 编辑

一、适用网站:(网易云音乐)
http://music.163.com/

二、搜索引擎代码(1):
http://s.music.163.com/search/get/?src=lofter&type=1&filterDj=true&s=突然好想你&limit=1&offset=0&callback=loft.w.g.cbFuncSearchMusic
红色代表搜索歌名,蓝色代表搜索歌曲数量

loft.w.g.cbFuncSearchMusic({"result":{"songCount":29,"songs":[{"id":413188392,"name":"突然好想你","artists":[{"id":12003104,"name":"熊文强","picUrl":null}],"album":{"id":34694563,"name":"突然好想你","artist":{"id":0,"name":"","picUrl":null},"picUrl":"http://p1.music.126.net/i1hmNBhIY8FfeBg23JTlbQ==/18343152486606731.jpg"},"audio":"http://m2.music.126.net/6a0wc2ZhtuE5QExomrqQsg==/3420580677135308.mp3","djProgramId":0,"page":"http://music.163.com/m/song/413188392"}]},"code":200})
天蓝色为歌曲ID   红色为歌名与歌手  紫色为歌曲封面图片地址  绿色为MP3音乐外链地址

如果没有你要的歌曲你就使用下面的直接搜索的ID办法,或者多蓝色搜索歌曲数量由1变成10(或者更多)就可以查询到你要的歌曲了!


三、搜索引擎代码(2):
http://music.163.com/api/song/detail/?id=歌曲Id&ids=%5B歌曲Id%5D&csrf_token=

1、怎么获得歌曲ID?
请先打开网易云音乐站:http://music.163.com/ ,在搜索栏中输入要外链的歌曲名,如下图所示:
1.jpg
在搜索结果中找到你要的音乐,点击歌名进到以下页面:
2.jpg
注意看到转入页面地址栏,如上图箭头所指27566765即为歌曲ID,复制它代入到上面引擎代码(2)中。即:


http://music.163.com/api/song/detail/?id=27566765&ids=%5B275667657%5D&csrf_token=


将这段代码复制到浏览器地址栏中并粘贴运行(与代码1一样),会得到以下一大段代码{"songs":[{"starred":false,"popularity":100.0,"starredNum":0,"playedNum":0,"dayPlays":0,"hearTime":0,"mp3Url":"http://m2.music.126.net/KsTQUQZmCRBDKTAn4yuvWA==/5749346301708863.mp3","rtUrls":[],"commentThreadId":"R_SO_4_27566765","copyFrom":"","ringtone":"","disc":"","no":1,"mvid":0,"ftype":0,"rtype":0,"rurl":null,"audition":null,"fee":0,"status":40,"alias":["《女人帮妞儿》插曲"],"artists":[{"img1v1Id":0,"trans":"","albumSize":0,"img1v1Url":"http://p4.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg","alias":[],"picId":0,"briefDesc":"","musicSize":0,"picUrl":"http://p3.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg","name":"五月天","id":13193}],"copyrightId":0,"score":100,"hMusic":null,"mMusic":{"playTime":287399,"dfsId":5739450697060822,"volumeDelta":-2.65076E-4,"bitrate":128000,"sr":44100,"name":"突然很想你","id":29286717,"size":4627870,"extension":"mp3"},"lMusic":{"playTime":287399,"dfsId":5749346301708863,"volumeDelta":-2.65076E-4,"bitrate":96000,"sr":44100,"name":"突然很想你","id":29286716,"size":3481513,"extension":"mp3"},"position":1,"duration":287399,"album":{"songs":[],"paid":false,"onSale":false,"commentThreadId":"R_AL_3_2639197","publishTime":1331136000007,"company":"乐视","status":40,"alias":[],"artists":[{"img1v1Id":0,"trans":"","albumSize":0,"img1v1Url":"http://p4.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg","alias":[],"picId":0,"briefDesc":"","musicSize":0,"picUrl":"http://p4.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg","name":"群星","id":122455}],"copyrightId":5003,"picId":5757042883102603,"briefDesc":"","description":"","subType":null,"tags":"","blurPicUrl":"http://p3.music.126.net/VBDc1RZQg_V9bioehQuXYQ==/5757042883102603.jpg","companyId":0,"pic":5757042883102603,"artist":{"img1v1Id":0,"trans":"","albumSize":0,"img1v1Url":"http://p3.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg","alias":[],"picId":0,"briefDesc":"","musicSize":0,"picUrl":"http://p3.music.126.net/6y-UleORITEDbvrOLV0Q8A==/5639395138885805.jpg","name":"","id":0},"picUrl":"http://p3.music.126.net/VBDc1RZQg_V9bioehQuXYQ==/5757042883102603.jpg","name":"女人帮·妞儿 电视原声带","id":2639197,"type":"专辑","size":11},"crbt":null,"bMusic":{"playTime":287399,"dfsId":5749346301708863,"volumeDelta":-2.65076E-4,"bitrate":96000,"sr":44100,"name":"突然很想你","id":29286716,"size":3481513,"extension":"mp3"},"rtUrl":null,"name":"突然好想你","id":27566765}],"equalizers":{},"code":200}


只需要找到红色部分以MP3结尾的地址即可:
http://m2.music.126.net/KsTQUQZmCRBDKTAn4yuvWA==/5749346301708863.mp3
这就是我们需要的外链地址了可以外链到任何地方了!很简单的吧!不懂留言吧!















评分

参与人数 3知名度 +80 酷酷币 +2 收起 理由
潮氏造梦。Vog + 20 + 1 辛苦了 我也在用网易播放器代码~比较稳定
Rn。 + 60 么么哒辛苦了( ˘・з・)
老兵 + 1 感谢分享教程

查看全部评分

该用户从未签到

发表于 2016-8-18 23:30:13 | 显示全部楼层
支持下
回复

使用道具 举报

该用户从未签到

发表于 2016-10-14 22:44:08 | 显示全部楼层
厉害了我的LZ。谢谢分享!
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2016-12-13 11:44:20 | 显示全部楼层
自己上传的怎么搜不到的
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2016-12-14 09:55:02 | 显示全部楼层
大神 好像不可以的
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2016-12-21 01:10:58 | 显示全部楼层
心不凉、 发表于 2016-12-14 09:55
大神 好像不可以的

搜索不到用链接的方式啊!
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2016-12-23 21:00:31 | 显示全部楼层
学会了
回复

使用道具 举报

该用户从未签到

发表于 2017-2-24 08:49:22 | 显示全部楼层
感谢分享教程  受教了
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2017-4-13 22:39:49 | 显示全部楼层
        辛苦了 我也在用网易播放器代码~比较稳定
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2017-5-8 13:01:47 | 显示全部楼层
支持教程,我也学学哈。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

热门推荐

Drew Ryan Scott  - Doin' It Right☆~全球首发%~拿翘の优质节奏男声!
Drew Ryan Scott - Doin&
更多独家资源 请订阅 潮氏造梦独家电台 Drew Ryan Scott - Doin' It Right片段试听[m
unknown - 2018.11 Prod.Vog☆~全球首发%~10首の优质节奏~好歌不停歇
unknown - 2018.11 Prod.V
潮宝宝唯一の要求:不准快进~不准快进~大部分都是全球独家资源~认真听~谢谢~!更多独
Bellhouse - Mess/Like You Loved Us【大气女声 5星推荐】
Bellhouse - Mess/Like Yo
[/td][/tr] [/table] 爱音乐 支持KingTracy
Sickrate - Hope
Sickrate - Hope
**** 本内容被作者隐藏 ****
Sasha Sloan - Older
Sasha Sloan - Older
好喜欢这样的歌 [mp3=http://up.mixrnb.com/201811/s83Rx33rsfoox6Qp2MZ
Timomatic - SLIP【动感男嗓】
Timomatic - SLIP【动感男
**** 本内容被作者隐藏 ****
unknown - Where We Are☆~全球首发%~意境のRNB男声~优质の嗓音沉醉
unknown - Where We Are☆
潮氏造梦 全球独家首发%更多独家资源 请订阅 潮氏造梦独家电台unknown - Where We Ar
Tommy Genesis – Tommy Genesis – [iTunes Plus AAC M4A] (2018)
Tommy Genesis – Tommy G
Tommy Genesis – Tommy Genesis – (2018) Tommy Genesis – Tommy Genesis – Alb
unknown - One Deep Breath, One Long Kiss☆~全球首发%~听一首の情怀女
unknown - One Deep Breat
潮氏造梦 全球独家首发%更多独家资源 请订阅 潮氏造梦独家电台unknown - One Deep Bre
Mariah Carey - 14 Albums Collection [iTunes Plus AAC M4A] (1990 - 2010) 牛姐
Mariah Carey - 14 Albums
Mariah Carey - 14 Albums Collection (1990 - 2010) Noname – MariahCarey 14CD

QQ|Archiver|手机版|小黑屋|酷酷猪音乐分享网 ( 苏ICP备14015220号 )

Powered by Discuz!X3.4   © 2013-2017 Comsenz Inc.

快速回复 返回顶部 返回列表