今天分享的是QQ音乐API

搜索歌曲API:http://s.music.qq.com/fcgi-bin/music_search_new_platform?t=0& amp;n={2}&aggr=1&cr=1&loginUin={3}&format=json&inCharset=GB2312&outCharset=utf-8&notice=0&platform=jqminiframe.json&needNewCode=0&p={1}&catZhida=0&remoteplace=sizer.newclient.next_song&w={0}

{0}=需要搜索的歌曲或歌手

{1}=查询的页码数

{2}=当前页的返回数量

{3}=默认为0,是登录的QQ号ID

例子:http://s.music.qq.com/fcgi-bin/music_search_new_platform?t=0& n=5&aggr=1&cr=1&loginUin=0&format=json& inCharset=GB2312&outCharset=utf-8&notice=0& platform=jqminiframe.json&needNewCode=0&p=1&catZhida=0& remoteplace=sizer.newclient.next_song&w=周杰伦
返回

{
"code": 0,
"data": {
"keyword": "周杰伦",
"priority": 0,
"qc": [],
"semantic": {
"curnum": 0,
"curpage": 1,
"list": [],
"totalnum": 0
},
"song": {
"curnum": 15,
"curpage": 1,
"list": [
{
"albumName_hilight": "哎呦,不错哦",
"chinesesinger": 0,
"docid": "8758666917101856462",
"f": "101369814|算什么男人|4558|周杰伦|852856|哎呦,不错哦|2496580|289|6|1|0|11580808|4632445|320000|0|31933476|32002118|6708265|6989683|0|001Js78a40BZU6|0025NhlN2yWrP4|001uqejs3d6EID|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "算什么男人",
"grp": [],
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "c0015vx9gdg",
"nt": 10000,
"only": 1,
"pubTime": 1419523200,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "算什么男人",
"t": 1,
"tag": 10,
"ver": 0
},
{
"albumName_hilight": "哎呦,不错哦",
"chinesesinger": 0,
"docid": "12455748783386394049",
"f": "101787870|手写的从前|4558|周杰伦|852856|哎呦,不错哦|2563780|297|6|1|0|11901591|4760759|320000|0|31919200|32299126|6686621|6881464|0|002u8ZOM4C7QF4|0025NhlN2yWrP4|001uqejs3d6EID|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "手写的从前",
"grp": [
{
"albumName_hilight": "2015江苏卫视新年演唱会",
"chinesesinger": 0,
"docid": "8524459989778971468",
"f": "101803866|手写的从前|4558|周杰伦|929853|2015江苏卫视新年演唱会|2474194|287|3|1|0|0|4596097|128000|0|0|0|0|0|0|001cCPt60GRPUz|0025NhlN2yWrP4|002xOmp62kqSic|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "手写的从前 (Live)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "a0015etg641",
"nt": 10001,
"only": 0,
"pubTime": 1420041600,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "手写的从前 (Live)",
"t": 1,
"tag": 0,
"ver": 0
}
],
"isupload": 0,
"isweiyun": 0,
"lyric": "优酸乳为爱告白 广告曲",
"lyric_hilight": "优酸乳为爱告白 广告曲",
"mv": "k0015ms0ov0",
"nt": 10001,
"only": 1,
"pubTime": 1419523200,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "手写的从前",
"t": 1,
"tag": 10,
"ver": 0
},
{
"albumName_hilight": "我很忙",
"chinesesinger": 0,
"docid": "4953153690890266244",
"f": "410316|青花瓷|4558|周杰伦|33021|我很忙|1942555|239|8|1|0|9573872|3836490|320000|0|25541938|26237796|5414428|5617369|0|002qU5aY3Qu24y|0025NhlN2yWrP4|002eFUFm2XYZ7z|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "青花瓷",
"grp": [
{
"albumName_hilight": "K情歌10",
"chinesesinger": 0,
"docid": "11254040215489699229",
"f": "4758498|青花瓷|4558|周杰伦|423011|K情歌10|2045366|237|1|1|0|0|3799447|128000|0|0|0|0|0|0|0034axGS2MI3sT|0025NhlN2yWrP4|002GJDhP0ZluDv|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "青花瓷",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "l00131om505",
"nt": 10002,
"only": 0,
"pubTime": 1361462400,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "青花瓷",
"t": 1,
"tag": 0,
"ver": 0
},
{
"albumName_hilight": "热搜铃声",
"chinesesinger": 0,
"docid": "2997797877615103176",
"f": "101835716|青花瓷 (铃声)|4558|周杰伦|881348|热搜铃声|326994|37|8|1|0|1512185|605005|320000|0|4625595|4683771|921951|952005|0|004bOIwA0347Lp|0025NhlN2yWrP4|001S6jc81P4OvC|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "青花瓷 (铃声)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "",
"nt": 10002,
"only": 0,
"pubTime": 1420041600,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "青花瓷 (铃声)",
"t": 1,
"tag": 0,
"ver": 0
}
],
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "l00131om505",
"nt": 10002,
"only": 1,
"pubTime": 1193932800,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "青花瓷",
"t": 1,
"tag": 0,
"ver": 0
},
{
"albumName_hilight": "寻找<span class=\"c_tx_highlight\">周杰伦</span>",
"chinesesinger": 0,
"docid": "10191134707667032736",
"f": "97783|断了的弦|4558|周杰伦|8221|寻找周杰伦|2378573|293|10|1|0|11744124|4696154|320000|0|31218341|32737193|6808158|7168784|0|003nK1U41u00q1|0025NhlN2yWrP4|001BGzMs369FzU|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "断了的弦 (伴奏)",
"grp": [
{
"albumName_hilight": "寻找<span class=\"c_tx_highlight\">周杰伦</span>",
"chinesesinger": 0,
"docid": "2690403057583679707",
"f": "97782|断了的弦|4558|周杰伦|8221|寻找周杰伦|2411617|297|9|1|0|11895634|4763445|320000|0|31653329|33029764|6553270|6984540|0|003ZdxP61ClQZ5|0025NhlN2yWrP4|001BGzMs369FzU|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "断了的弦",
"isupload": 0,
"isweiyun": 0,
"lyric": "电影《寻找周杰伦》插曲",
"lyric_hilight": "电影《寻找<span class=\"c_tx_highlight\">周杰伦</span>》插曲",
"mv": "r0013wcyzl4",
"nt": 10003,
"only": 0,
"pubTime": 1067616000,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "断了的弦",
"t": 1,
"tag": 0,
"ver": 0
},
{
"albumName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span> 2004 无与伦比 演唱会 Live CD",
"chinesesinger": 0,
"docid": "9281317214309150225",
"f": "4962992|断了的弦|4558|周杰伦|14323|周杰伦 2004 无与伦比 演唱会 Live CD|2503008|290|3|1|0|11615325|4646274|320000|0|35608020|35843959|6682152|7228609|0|0006yaTm0WDI7M|0025NhlN2yWrP4|0032ezFm3F53yO|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "断了的弦 (Live)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "",
"nt": 10003,
"only": 0,
"pubTime": 1106150400,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "断了的弦 (Live)",
"t": 1,
"tag": 0,
"ver": 0
}
],
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "",
"nt": 10003,
"only": 1,
"pubTime": 1067616000,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "断了的弦 (伴奏)",
"t": 1,
"tag": 10,
"ver": 0
},
{
"albumName_hilight": "Jay",
"chinesesinger": 0,
"docid": "14303915167107409415",
"f": "97758|龙卷风|4558|周杰伦|8218|Jay|2033113|250|5|1|0|10037805|4016134|320000|0|26976920|27794719|5309494|5960922|0|002l8JN71d2Dxy|0025NhlN2yWrP4|000f01724fd7TH|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "龙卷风",
"grp": [
{
"albumName_hilight": "The Era 2010 超时代演唱会",
"chinesesinger": 0,
"docid": "11830165131099900276",
"f": "4829324|龙卷风|4558|周杰伦|67340|The Era 2010 超时代演唱会|2147768|249|10|1|0|9964201|3985858|320000|0|31274215|31521569|5652283|6136785|0|001H8Gae45ikHR|0025NhlN2yWrP4|002o2a5G46ETLr|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "龙卷风 (Live)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "X0010KChPCn",
"nt": 10004,
"only": 0,
"pubTime": 1295884800,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "龙卷风 (Live)",
"t": 1,
"tag": 0,
"ver": 0
},
{
"albumName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span> 2004 无与伦比 演唱会 Live CD",
"chinesesinger": 0,
"docid": "13224632523111011719",
"f": "4962978|龙卷风|4558|周杰伦|14323|周杰伦 2004 无与伦比 演唱会 Live CD|2141406|248|3|1|0|9935127|3974193|320000|0|30864029|31432703|5698109|6273651|0|000vm0CC2N5DvK|0025NhlN2yWrP4|0032ezFm3F53yO|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "龙卷风 (Live)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "",
"nt": 10004,
"only": 0,
"pubTime": 1106150400,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "龙卷风 (Live)",
"t": 1,
"tag": 0,
"ver": 0
},
{
"albumName_hilight": "The One演唱会",
"chinesesinger": 0,
"docid": "12140579362073679756",
"f": "7098053|龙卷风|4558|周杰伦|14320|The One演唱会|2144584|248|10|1|0|9946591|3978761|320000|0|30048676|30509084|5270411|6062959|0|002RY0aC4612wn|0025NhlN2yWrP4|001O06fF2b3W8P|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "龙卷风 (Live)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "",
"nt": 10004,
"only": 0,
"pubTime": 1033401600,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "龙卷风 (Live)",
"t": 1,
"tag": 0,
"ver": 0
},
{
"albumName_hilight": "Fantasy Show香港演唱会",
"chinesesinger": 0,
"docid": "7847914747533822478",
"f": "162379|龙卷风|4558|周杰伦|14319|Fantasy Show香港演唱会|2141879|263|4|1|0|0|4210067|0|0|0|0|0|0|0|001wJfUe4IGByO|0025NhlN2yWrP4|00474nNC0yEs3T|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "龙卷风 (Live)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "",
"nt": 10004,
"only": 0,
"pubTime": 1004889600,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "龙卷风 (Live)",
"t": 1,
"tag": 0,
"ver": 0
},
{
"albumName_hilight": "热搜铃声",
"chinesesinger": 0,
"docid": "10082662556977192226",
"f": "101835715|龙卷风 (铃声)|4558|周杰伦|881348|热搜铃声|282194|32|8|1|0|1299026|519585|320000|0|4220863|4221506|721369|812585|0|0004RoQz4B6efJ|0025NhlN2yWrP4|001S6jc81P4OvC|31|0",
"fiurl": "",
"fnote": 0,
"fsinger": "周杰伦",
"fsinger2": "",
"fsong": "龙卷风 (铃声)",
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "",
"nt": 10004,
"only": 0,
"pubTime": 1420041600,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "龙卷风 (铃声)",
"t": 1,
"tag": 0,
"ver": 0
}
],
"isupload": 0,
"isweiyun": 0,
"lyric": "",
"lyric_hilight": "",
"mv": "X0010KChPCn",
"nt": 10004,
"only": 1,
"pubTime": 973526400,
"pure": 0,
"singerMID": "0025NhlN2yWrP4",
"singerMID2": "",
"singerName2_hilight": "",
"singerName_hilight": "<span class=\"c_tx_highlight\">周杰伦</span>",
"singerid": 4558,
"singerid2": 0,
"songName_hilight": "龙卷风",
"t": 1,
"tag": 0,
"ver": 0
}
],
"totalnum": 389
},
"totaltime": 0.00001,
"zhida": {
"chinesesinger": 0,
"type": 0
}
},
"message": "",
"notice": "",
"subcode": 0,
"time": 1423298505,
"tips": ""
}

分析json格式,歌曲名称,歌手,专辑,还有其中的f的属性

"f": "101369814|算什么男人|4558|周杰伦|852856|哎呦,不错哦|2496580|289|6|1|0|11580808|4632445|320000|0|31933476|32002118|6708265|6989683|0|001Js78a40BZU6|0025NhlN2yWrP4|001uqejs3d6EID|31|0"

id=001Js78a40BZU6

img=001uqejs3d6EID

lrc=101369814

这些ID在下面的API中会有用的

获取播放key:http://base.music.qq.com/fcgi-bin /fcg_musicexpress.fcg?json=3&loginUin={0}&format=jsonp&inCharset=GB2312&outCharset=GB2312&notice=0&platform=yqq&needNewCode=0

{0}=默认为0,是登录的QQ号ID

返回

jsonCallback({"code":0,"sip"["http://ws.stream.qqmusic.qq.com/","http://cc.stream.qqmusic.qq.com/","http://124.14.15.19/streamoc.music.tc.qq.com/"],"key":"6BFDD0DFE8A88C65E5D7942967AE84A1F7BC2A96A9120C15A5032483EA5D0659"});

key=6BFDD0DFE8A88C65E5D7942967AE84A1F7BC2A96A9120C15A5032483EA5D0659

播放歌曲API:http://cc.stream.qqmusic.qq.com/C200{0}.m4a?vkey={1}&fromtag=0

{0}=上面取到的ID

{1}=上面取到的KEY

例子:http://cc.stream.qqmusic.qq.com /C200001Js78a40BZU6.m4a?vkey=6BFDD0DFE8A88C65E5D7942967AE84A1F7BC2A96A9120C15A5032483EA5D0659&fromtag=0

歌曲图片API:http://imgcache.qq.com/music/photo/mid_album_90/{1}/{2}/{0}.jpg

{0}=上面取到的Img

{1]=上面取到的Img的倒数第二个字符

{2}=上面取到的Img的最后一个字符

例子:http://imgcache.qq.com/music/photo/mid_album_90/I/D/001uqejs3d6EID.jpg

歌词API:http://music.qq.com/miniportal/static/lyric/{1}/{0}.xml

{0}=上面取到的Lrc

{1}=上面取到的Lrc%100

例子:http://music.qq.com/miniportal/static/lyric/14/101369814.xml

这个LRC有时会失效的

以后在补上QQ音乐的歌词搜索API

利用音乐接口我做了个微信点歌的微信公众号微点歌:vdiange

大家可以添加微点歌vdiange测试一下:

QQ音乐API的更多相关文章

  1. 【QQ音乐Api】移花接木 打造自己的音乐电台

    最近突发奇想想做个在线音乐小网页.需求很简单,如下 搜索歌曲 或 歌手 在线播放音乐 借用qq 或者 百度的 音乐接口 需求明确那就直接动手了 我首先尝试的百度音乐,但是不能在线播放(提示forbid ...

  2. QQ音乐API分析记录

    我一直是QQ音乐的用户,最近想做一个应用,想用QQ音乐的API,搜索了很久无果,于是就自己分析QQ音乐的API. 前不久发现QQ音乐出了网页版的,是Flash的,但是,我用iPhone打开这个链接的时 ...

  3. 调皮的QQ音乐API:修复无法获取歌单

    上一篇完整版:http://www.cnblogs.com/TwilightLemon/p/7076938.html QQ音乐的API真是太调皮了,获取歌单的API又更换了好多次,喵喵喵 旧版API( ...

  4. 网易云和QQ音乐api

    最近有点闲,听歌的时候遇见好听的想下载却遇到尴尬的事,版权!唉,知道我干什么了吧 网易云音乐 获取排行榜中的歌曲列表 https://music.163.com/discover/toplist?id ...

  5. 使用浏览器抓取QQ音乐接口(歌曲篇)

    前言 前面我们获取了歌曲的排行榜的数据,我们现在需要实现歌曲播放 前面我们写了一段函数来得到了回调的数据,现在我们需要使用这一段数据,来实现播放歌曲 完整代码 <!DOCTYPE html> ...

  6. QQ音乐的各种相关API

    QQ音乐的各种相关API 分类: oc2014-01-29 15:34 2676人阅读 评论(2) 收藏 举报 基本上论坛里做在线音乐的都在用百度的API,进来发现百度的API不仅歌曲的质量不可以保证 ...

  7. 音乐API之QQ音乐

    欢迎大家来到我的博客,这是我在博客园写的第一篇文章,但不会是最后一篇,希望大家多多关注我,支持我哦!正文开始,今天我们要讲的是QQ音乐的API,都是来源于官方的地址,以前我也想写一个,但百度谷歌之后都 ...

  8. QQ音乐无损歌曲接口api

    1.打开QQ音乐官网 y.qq.com 2.选择你要的歌曲,进入后查看网址,以虎口脱险这个歌曲为例:http://y.qq.com/#type=song&mid=000Ib8E71sUNi7 ...

  9. QQ音乐接口api,包括付费音乐、无损音乐、高品质音乐地址解析接口api

    QQ音乐网站所有音乐(包括付费.无损等版权音乐解析接口地址url). mp3 普通高品 http://dl.stream.qqmusic.qq.com/M5000012gqVh4fFvVK.mp3?v ...

随机推荐

  1. css样式单位取整,去掉'px'

    alert(parseInt($(".themes1").css("margin-left"), 10));

  2. Hadoop:实战Web日志分析

    示例场景 日志说明 有两台Web服务器,日志文件存放在/usr/local/nginx/logs/目录,日志默认为nginx定义格式.如: 123.13.17.13 - - [25/Aug/2016: ...

  3. 黄聪:WordPress 函数:add_filter()(添加过滤器)

    add_filter() 可以挂载一个函数到指定的过滤器上. 用法 add_filter( $tag, $function_to_add, $priority, $accepted_args ); 参 ...

  4. 不用配置tnsnames.ora,直接通过PL/SQL访问远程数据库

  5. ios之"performSelector may cause a leak because its selector is unknown"警告原因及其解决办法

    问题描述 项目中使用到了从字符串创建选择器,编译时发现警告:"performSelector may cause a leak because its selector is unknown ...

  6. BIP_BI Publisher Administrator设定Configuration/Font/Currencies(案例)

    2014-08-08 Created By BaoXinjian

  7. NeHe OpenGL教程 第二十四课:扩展

    转自[翻译]NeHe OpenGL 教程 前言 声明,此 NeHe OpenGL教程系列文章由51博客yarin翻译(2010-08-19),本博客为转载并稍加整理与修改.对NeHe的OpenGL管线 ...

  8. NeHe OpenGL教程 第七课:光照和键盘

    转自[翻译]NeHe OpenGL 教程 前言 声明,此 NeHe OpenGL教程系列文章由51博客yarin翻译(2010-08-19),本博客为转载并稍加整理与修改.对NeHe的OpenGL管线 ...

  9. python 爬虫抓取心得

    quanwei9958 转自 python 爬虫抓取心得分享 urllib.quote('要编码的字符串') 如果你要在url请求里面放入中文,对相应的中文进行编码的话,可以用: urllib.quo ...

  10. Java System.out的输出缓冲

    今天学习了java的正则表达式api,在写例子的时候遇到了让人摸不着头脑的问题:从控制台输入了字符串,却没有输出;直到输入的字符串不能匹配的时,一起与Unabled to match输出.相关代码如下 ...