最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

【已解决】如何获得Skydrive中文件(包括MP3歌曲)(以mp3为后缀)的真实下载地址

Skydrive crifan 729浏览 0评论

【已解决】如何获得Skydrive中文件(包括MP3歌曲)(以mp3为后缀)的真实下载地址

【背景】

是看到这里:

http://hjp.jimdo.com/2009/05/31/skydrive/

才有下面,打算要获得skydrive上面文件的真实地址的冲动的。

【解决过程】

前提:
找到一个skydrive中的某个文件夹,比如我这里的:
File -> music

skydrive网址:
https://skydrive.live.com/?cid=9A8B8BF501A38A36#cid=9A8B8BF501A38A36&id=9A8B8BF501A38A36%21504

 
请求:
Request URL:https://skydrive.live.com/API/2/GetItems?id=9a8b8bf501a38a36%21504&cid=9a8b8bf501a38a36&group=0&qt=&ft=&sb=1&sr=0&d=1&lid=9A8B8BF501A38A36!504&caller=&path=0&si=0&ps=100&pi=5&m=zh-CN&rset=web&lct=1&v=634613432750870000

id:9a8b8bf501a38a36!504
cid:9a8b8bf501a38a36
group:0
qt:
ft:
sb:1
sr:0
d:1
lid:9A8B8BF501A38A36!504
caller:
path:0
si:0
ps:100
pi:5
m:zh-CN
rset:web
lct:1
v:634613432750870000

 
返回值:
{“items”:[{“commands”:”defc,1,dl,1,pm,1″,”commentCount”:0,”creationDate”:634079507066470000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”11,548 KB”,”folder”:{“category”:0,”childCount”:3,”children”:[{“audio”:{“artist”:”Oph¨?lie Winter”,”duration”:139439,”genre”:”Other”,”mimeType”:”audio/mpeg”,”title”:”Affection”,”year”:2010},”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634613432750870000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2012/1/5″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”2,178 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!522″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613432750870000,”name”:”★▁▏真假友情 ┃英女┃20.May.2011 卍 AFFECTION 尘陌忆”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2230050″,”thumbnailSet”:{“baseUrl”:”https://by”,”id”:”9A8B8BF501A38A36!522″,”thumbnails”:[{“height”:200,”name”:”scaledLargest”,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:FullScreen/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:128,”name”:”height128″,”url”:”files.storage.live.com/y1pGhMf-e9bEIkigPrLZSNXIuGFPDsnZR-5MwpEwIIacIwUgX-RPzqLDP-hzH6C0uoeL_azRpV_5jc/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1″,”width”:128},{“height”:200,”name”:”width228″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:ConstantWidth228/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:200,”name”:”scaled1024″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:Scaled1024/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200}]},”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pKz14CHGb3m_x1cRaOuJYYQfpi3nCf3j4WIrmx54X4R6_eZI1AkOZ0i61sBZmT-zvGe1MQJVl0nJ85bmriUaVaQ/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!522&parid=9A8B8BF501A38A36!504″},”userRole”:2},{“audio”:{“album”:”怒放的生命”,”artist”:”汪峰”,”duration”:275278,”genre”:”pop”,”mimeType”:”audio/mpeg”,”title”:”怒放的生命”,”track”:2,”year”:2005},”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634613423000930000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2012/1/5″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”6,547 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!521″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613423388900000,”name”:”怒放的生命 – 汪峰”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”6703232″,”urls”:{“download”:”https://m1oj1w.bay.livefilestore.com/y1p8UgZxFsB_-b7uGSkxYPZ4eYviaQzwvuG1kb9KvpV3Wch58-Kr5T6LaEzsS9QmOHufFRroJmnxJFC-bKUKf2KeQ/%E6%80%92%E6%94%BE%E7%9A%84%E7%94%9F%E5%91%BD%20-%20%E6%B1%AA%E5%B3%B0.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!521&parid=9A8B8BF501A38A36!504″},”userRole”:2},{“audio”:{“mimeType”:”audio/mpeg”},”caption”:””,”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634079507896770000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2010/4/27″,”displaySize”:”2,825 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!505″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634079507897400000,”name”:”预感时枯萎 なアーティスト”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2891855″,”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!505&parid=9A8B8BF501A38A36!504″},”userRole”:2}],”documentCount”:3,”folderCount”:0,”photoCount”:0,”startIndex”:0,”totalCount”:3},”group”:0,”iconType”:”NonEmptyDocumentFolder”,”id”:”9A8B8BF501A38A36!504″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613432750870000,”name”:”music”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”root”,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”11825137″,”urls”:{“viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!504&parid=9A8B8BF501A38A36!466″},”userRole”:2}],”originId”:”0.9297938160598278″}

格式化:

{
     “items” : [
     {
         “commands” : “defc,1,dl,1,pm,1”, “commentCount” : 0, “creationDate” : 634079507066470000, “creatorCid” : “9A8B8BF501A38A36”,
         “creatorName” : “wang tian”, “displayCreationDate” : “2010/4/27”, “displayModifiedDate” : “2012/1/5”,
         “displaySize” : “11,548 KB”, “folder” :
         {
             “category” : 0, “childCount” : 3, “children” : [
             {
                 “audio” :
                 {
                     “artist” : “Oph¨?lie Winter”, “duration” : 139439, “genre” : “Other”, “mimeType” : “audio/mpeg”,
                     “title” : “Affection”, “year” : 2010
                 },
                 “commands” : “defc,4,dl,3,pm,1”, “commentCount” : 0, “creationDate” : 634613432750870000,
                 “creatorCid” : “9A8B8BF501A38A36”, “creatorName” : “wang tian”, “displayCreationDate” : “2012/1/5”,
                 “displayModifiedDate” : “2012/1/5”, “displaySize” : “2,178 KB”, “extension” : “.mp3”,
                 “group” : 0, “iconType” : “Audio”, “id” : “9A8B8BF501A38A36!522”, “lastModifierCid” : “9A8B8BF501A38A36”,
                 “lastModifierName” : “wang tian”, “modifiedDate” : 634613432750870000, “name” : “★▁▏真假友情 ┃英女┃20.May.2011 卍 AFFECTION 尘陌忆”,
                 “ownerCid” : “9A8B8BF501A38A36”, “ownerDCid” : “-7310595685695124938”, “ownerName” : “wang tian”,
                 “parentId” : “9A8B8BF501A38A36!504”, “sharingLevel” : “所有人(公共)”, “sharingLevelValue” : 0,
                 “size” : “2230050”, “thumbnailSet” :
                 {
                     “baseUrl” : “https://by”, “id” : “9A8B8BF501A38A36!522”, “thumbnails” : [
                     {
                         “height” : 200, “name” : “scaledLargest”, “url” : “2.storage.live.com/items/9A8B8BF501A38A36!522:FullScreen/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720”,
                         “width” : 200
                     },
 
                    {
                         “height” : 128, “name” : “height128”, “url” : “files.storage.live.com/y1pGhMf-e9bEIkigPrLZSNXIuGFPDsnZR-5MwpEwIIacIwUgX-RPzqLDP-hzH6C0uoeL_azRpV_5jc/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1”,
                         “width” : 128
                     },
 
                    {
                         “height” : 200, “name” : “width228”, “url” : “2.storage.live.com/items/9A8B8BF501A38A36!522:ConstantWidth228/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720”,
                         “width” : 200
                     },
 
                    {
                         “height” : 200, “name” : “scaled1024”, “url” : “2.storage.live.com/items/9A8B8BF501A38A36!522:Scaled1024/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720”,
                         “width” : 200
                     }]
                 },
                 “urls” :
                 {
                     “download” : “https://zxhpmw.bay.livefilestore.com/y1pKz14CHGb3m_x1cRaOuJYYQfpi3nCf3j4WIrmx54X4R6_eZI1AkOZ0i61sBZmT-zvGe1MQJVl0nJ85bmriUaVaQ/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?download&psid=1”,
                     “viewInBrowser” : “https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!522&parid=9A8B8BF501A38A36!504”
                 },
                 “userRole” : 2
             },
 
            {
                 “audio” :
                 {
                     “album” : “怒放的生命”, “artist” : “汪峰”, “duration” : 275278, “genre” : “pop”, “mimeType” : “audio/mpeg”,
                     “title” : “怒放的生命”, “track” : 2, “year” : 2005
                 },
                 “commands” : “defc,4,dl,3,pm,1”, “commentCount” : 0, “creationDate” : 634613423000930000,
                 “creatorCid” : “9A8B8BF501A38A36”, “creatorName” : “wang tian”, “displayCreationDate” : “2012/1/5”,
                 “displayModifiedDate” : “2012/1/5”, “displaySize” : “6,547 KB”, “extension” : “.mp3”,
                 “group” : 0, “iconType” : “Audio”, “id” : “9A8B8BF501A38A36!521”, “lastModifierCid” : “9A8B8BF501A38A36”,
                 “lastModifierName” : “wang tian”, “modifiedDate” : 634613423388900000, “name” : “怒放的生命 – 汪峰”,
                 “ownerCid” : “9A8B8BF501A38A36”, “ownerDCid” : “-7310595685695124938”, “ownerName” : “wang tian”,
                 “parentId” : “9A8B8BF501A38A36!504”, “sharingLevel” : “所有人(公共)”, “sharingLevelValue” : 0,
                 “size” : “6703232”, “urls” :
                 {
                     “download” : “https://m1oj1w.bay.livefilestore.com/y1p8UgZxFsB_-b7uGSkxYPZ4eYviaQzwvuG1kb9KvpV3Wch58-Kr5T6LaEzsS9QmOHufFRroJmnxJFC-bKUKf2KeQ/%E6%80%92%E6%94%BE%E7%9A%84%E7%94%9F%E5%91%BD%20-%20%E6%B1%AA%E5%B3%B0.mp3?download&psid=1”,
                     “viewInBrowser” : “https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!521&parid=9A8B8BF501A38A36!504”
                 },
                 “userRole” : 2
             },
 
            {
                 “audio” : {
                     “mimeType” : “audio/mpeg”
                 },
                 “caption” : “”, “commands” : “defc,4,dl,3,pm,1”, “commentCount” : 0, “creationDate” : 634079507896770000,
                 “creatorCid” : “9A8B8BF501A38A36”, “creatorName” : “wang tian”, “displayCreationDate” : “2010/4/27”,
                 “displayModifiedDate” : “2010/4/27”, “displaySize” : “2,825 KB”, “extension” : “.mp3”,
                 “group” : 0, “iconType” : “Audio”, “id” : “9A8B8BF501A38A36!505”, “lastModifierCid” : “9A8B8BF501A38A36”,
                 “lastModifierName” : “wang tian”, “modifiedDate” : 634079507897400000, “name” : “预感时枯萎 なアーティスト”,
                 “ownerCid” : “9A8B8BF501A38A36”, “ownerDCid” : “-7310595685695124938”, “ownerName” : “wang tian”,
                 “parentId” : “9A8B8BF501A38A36!504”, “sharingLevel” : “所有人(公共)”, “sharingLevelValue” : 0,
                 “size” : “2891855”, “urls” :
                 {
                     “download” : “https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1”,
                     “viewInBrowser” : “https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!505&parid=9A8B8BF501A38A36!504”
                 },
                 “userRole” : 2
             }], “documentCount” : 3, “folderCount” : 0, “photoCount” : 0, “startIndex” : 0, “totalCount” : 3
         },
         “group” : 0, “iconType” : “NonEmptyDocumentFolder”, “id” : “9A8B8BF501A38A36!504”, “lastModifierCid” : “9A8B8BF501A38A36”,
         “lastModifierName” : “wang tian”, “modifiedDate” : 634613432750870000, “name” : “music”, “ownerCid” : “9A8B8BF501A38A36”,
         “ownerDCid” : “-7310595685695124938”, “ownerName” : “wang tian”, “parentId” : “root”, “sharingLevel” : “所有人(公共)”,
         “sharingLevelValue” : 0, “size” : “11825137”, “urls” :
         {
             “viewInBrowser” : “https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!504&parid=9A8B8BF501A38A36!466”
         },
         “userRole” : 2
     }], “originId” : “0.9297938160598278”
 }

 
对应skydrive网址:
https://skydrive.live.com/?cid=9A8B8BF501A38A36&id=9A8B8BF501A38A36%21504

请求:
https://skydrive.live.com/API/2/GetItems?id=9a8b8bf501a38a36%21504&cid=9a8b8bf501a38a36&group=0&qt=&ft=&sb=1&sr=0&d=1&lid=9A8B8BF501A38A36!504&caller=&path=0&si=0&ps=100&pi=5&m=zh-CN&rset=web&lct=1&v=0.6708730782847852

id:9a8b8bf501a38a36!504
cid:9a8b8bf501a38a36
group:0
qt:
ft:
sb:1
sr:0
d:1
lid:9A8B8BF501A38A36!504
caller:
path:0
si:0
ps:100
pi:5
m:zh-CN
rset:web
lct:1
v:0.6708730782847852

回复:
{“items”:[{“commands”:”defc,1,dl,1,pm,1″,”commentCount”:0,”creationDate”:634079507066470000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”5,002 KB”,”folder”:{“category”:0,”childCount”:2,”children”:[{“audio”:{“artist”:”Oph¨?lie Winter”,”duration”:139439,”genre”:”Other”,”mimeType”:”audio/mpeg”,”title”:”Affection”,”year”:2010},”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634613432750870000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2012/1/5″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”2,178 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!522″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613432750870000,”name”:”★▁▏真假友情 ┃英女┃20.May.2011 卍 AFFECTION 尘陌忆”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2230050″,”thumbnailSet”:{“baseUrl”:”https://by”,”id”:”9A8B8BF501A38A36!522″,”thumbnails”:[{“height”:200,”name”:”scaledLargest”,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:FullScreen/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:128,”name”:”height128″,”url”:”files.storage.live.com/y1pGhMf-e9bEIkigPrLZSNXIuGFPDsnZR-5MwpEwIIacIwUgX-RPzqLDP-hzH6C0uoeL_azRpV_5jc/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1″,”width”:128},{“height”:200,”name”:”width228″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:ConstantWidth228/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:200,”name”:”scaled1024″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:Scaled1024/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200}]},”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pKz14CHGb3m_x1cRaOuJYYQfpi3nCf3j4WIrmx54X4R6_eZI1AkOZ0i61sBZmT-zvGe1MQJVl0nJ85bmriUaVaQ/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!522&parid=9A8B8BF501A38A36!504″},”userRole”:2},{“audio”:{“mimeType”:”audio/mpeg”},”caption”:””,”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634079507896770000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2010/4/27″,”displaySize”:”2,825 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!505″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634079507897400000,”name”:”预感时枯萎 なアーティスト”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2891855″,”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!505&parid=9A8B8BF501A38A36!504″},”userRole”:2}],”documentCount”:2,”folderCount”:0,”photoCount”:0,”startIndex”:0,”totalCount”:2},”group”:0,”iconType”:”NonEmptyDocumentFolder”,”id”:”9A8B8BF501A38A36!504″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613457185730000,”name”:”music”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”root”,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”5121905″,”urls”:{“viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!504&parid=9A8B8BF501A38A36!466″},”userRole”:2}],”originId”:”0.6708730782847852″}

{
     “items” : [
     {
         “commands” : “defc,1,dl,1,pm,1”, “commentCount” : 0, “creationDate” : 634079507066470000, “creatorCid” : “9A8B8BF501A38A36”,
         “creatorName” : “wang tian”, “displayCreationDate” : “2010/4/27”, “displayModifiedDate” : “2012/1/5”,
         “displaySize” : “5,002 KB”, “folder” :
         {
             “category” : 0, “childCount” : 2, “children” : [
             {
                 “audio” :
                 {
                     “artist” : “Oph¨?lie Winter”, “duration” : 139439, “genre” : “Other”, “mimeType” : “audio/mpeg”,
                     “title” : “Affection”, “year” : 2010
                 },
                 “commands” : “defc,4,dl,3,pm,1”, “commentCount” : 0, “creationDate” : 634613432750870000,
                 “creatorCid” : “9A8B8BF501A38A36”, “creatorName” : “wang tian”, “displayCreationDate” : “2012/1/5”,
                 “displayModifiedDate” : “2012/1/5”, “displaySize” : “2,178 KB”, “extension” : “.mp3”,
                 “group” : 0, “iconType” : “Audio”, “id” : “9A8B8BF501A38A36!522”, “lastModifierCid” : “9A8B8BF501A38A36”,
                 “lastModifierName” : “wang tian”, “modifiedDate” : 634613432750870000, “name” : “★▁▏真假友情 ┃英女┃20.May.2011 卍 AFFECTION 尘陌忆”,
                 “ownerCid” : “9A8B8BF501A38A36”, “ownerDCid” : “-7310595685695124938”, “ownerName” : “wang tian”,
                 “parentId” : “9A8B8BF501A38A36!504”, “sharingLevel” : “所有人(公共)”, “sharingLevelValue” : 0,
                 “size” : “2230050”, “thumbnailSet” :
                 {
                     “baseUrl” : “https://by”, “id” : “9A8B8BF501A38A36!522”, “thumbnails” : [
                     {
                         “height” : 200, “name” : “scaledLargest”, “url” : “2.storage.live.com/items/9A8B8BF501A38A36!522:FullScreen/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720”,
                         “width” : 200
                     },
 
                    {
                         “height” : 128, “name” : “height128”, “url” : “files.storage.live.com/y1pGhMf-e9bEIkigPrLZSNXIuGFPDsnZR-5MwpEwIIacIwUgX-RPzqLDP-hzH6C0uoeL_azRpV_5jc/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1”,
                         “width” : 128
                     },
 
                    {
                         “height” : 200, “name” : “width228”, “url” : “2.storage.live.com/items/9A8B8BF501A38A36!522:ConstantWidth228/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720”,
                         “width” : 200
                     },
 
                    {
                         “height” : 200, “name” : “scaled1024”, “url” : “2.storage.live.com/items/9A8B8BF501A38A36!522:Scaled1024/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720”,
                         “width” : 200
                     }]
                 },
                 “urls” :
                 {
                     “download” : “https://zxhpmw.bay.livefilestore.com/y1pKz14CHGb3m_x1cRaOuJYYQfpi3nCf3j4WIrmx54X4R6_eZI1AkOZ0i61sBZmT-zvGe1MQJVl0nJ85bmriUaVaQ/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?download&psid=1”,
                     “viewInBrowser” : “https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!522&parid=9A8B8BF501A38A36!504”
                 },
                 “userRole” : 2
             },
 
            {
                 “audio” : {
                     “mimeType” : “audio/mpeg”
                 },
                 “caption” : “”, “commands” : “defc,4,dl,3,pm,1”, “commentCount” : 0, “creationDate” : 634079507896770000,
                 “creatorCid” : “9A8B8BF501A38A36”, “creatorName” : “wang tian”, “displayCreationDate” : “2010/4/27”,
                 “displayModifiedDate” : “2010/4/27”, “displaySize” : “2,825 KB”, “extension” : “.mp3”,
                 “group” : 0, “iconType” : “Audio”, “id” : “9A8B8BF501A38A36!505”, “lastModifierCid” : “9A8B8BF501A38A36”,
                 “lastModifierName” : “wang tian”, “modifiedDate” : 634079507897400000, “name” : “预感时枯萎 なアーティスト”,
                 “ownerCid” : “9A8B8BF501A38A36”, “ownerDCid” : “-7310595685695124938”, “ownerName” : “wang tian”,
                 “parentId” : “9A8B8BF501A38A36!504”, “sharingLevel” : “所有人(公共)”, “sharingLevelValue” : 0,
                 “size” : “2891855”, “urls” :
                 {
                     “download” : “https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1”,
                     “viewInBrowser” : “https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!505&parid=9A8B8BF501A38A36!504”
                 },
                 “userRole” : 2
             }], “documentCount” : 2, “folderCount” : 0, “photoCount” : 0, “startIndex” : 0, “totalCount” : 2
         },
         “group” : 0, “iconType” : “NonEmptyDocumentFolder”, “id” : “9A8B8BF501A38A36!504”, “lastModifierCid” : “9A8B8BF501A38A36”,
         “lastModifierName” : “wang tian”, “modifiedDate” : 634613457185730000, “name” : “music”, “ownerCid” : “9A8B8BF501A38A36”,
         “ownerDCid” : “-7310595685695124938”, “ownerName” : “wang tian”, “parentId” : “root”, “sharingLevel” : “所有人(公共)”,
         “sharingLevelValue” : 0, “size” : “5121905”, “urls” :
         {
             “viewInBrowser” : “https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!504&parid=9A8B8BF501A38A36!466”
         },
         “userRole” : 2
     }], “originId” : “0.6708730782847852”
 }

后来写python脚本,去打开
https://skydrive.live.com/API/2/GetItems?id=9a8b8bf501a38a36%21504&cid=9a8b8bf501a38a36&group=0&qt=&ft=&sb=1&sr=0&d=1&lid=9A8B8BF501A38A36!504&caller=&path=0&si=0&ps=100&pi=5&m=zh-CN&rset=web&lct=1&v=0.36517983046360314
但是会出错:

{“error”:{“code”:154,”debugMessage”:”Either no appId was passed in or the given AppId was not valid.”,”message”:null,”stackTrace”:”0bcce84fb33fc85b2:GdXCtamH1eTh81NPO1D6ZTybRrBEc795QgzD7slb4eBGckogoCSQA3Di9E0Bx1Oy0D+ECtKlbtJeFHr9wIzjOc8ZH3HeXeagp4uPqszJNwl6WkBzeVr9td8rRfHDY7pD6vvApzHQ0Ywh95fhaHxtD16Pc47wsdXqFZnmVO68vn6+dP9h1mvjpK2PFlk1O2oF6oNbyTJkIpRcGnlOR9zxVT/ouY3Kn0R/rNFcQoxEdAhmZ0Bvq/k0xeHp/UL/TpYbcBn+Wbnf/8EAdbwpndwEiUuuBrbDPDBTMgyu3UJYnPxv8f+IYpCePjG6jlPbGUcjmpZnQ4qgwMMoKWClV1IK+2sMuueyVm7iqdAKMFDsvY37Bf3t/IY+qUVpRrED7ioBtRGhC4+ATb6M1OUeKofGgV+HospeaKWJj2Xme1t/zszwygasIgvwFhErEad8V1T7YLjEioprP+Q+jyc6e85DNXGiFM7D8D2NHbTMTTtbjqrDLtRkwfNG9f/M/RBqxVyDFdB2L02surp5aTOOFIKOiCSbSYRBBTDvhX7gKViP/BYWfRgRoLEFeqEp5i7jh8UpJzcoWLTTFa3XhMvNgcKhu/8t2oHMFKivbJVncm0V9LJNgq5m4Kc5Tv49xMI65bmCtxBmLzjLrJwY03qSxRQ0Cyz9ZarEYRuJ8HuS2SuYmuNN/roZKV5/hEnUKSMOj4iDbTI4aA5a4K9UHexOpr8MzvSREtD1TyEiYtsXuCWlgdten91sjTuJltZp/tUtQYm3F1CER4zz6DsliMXqNEcgjZ4ATA//x1YageZmGTnenrQrmpeRl2M/pq0QBY52yVmdfk45WryKIZYuo0e3yWvnXPcFZnE5r5rtGWuHWU8R25s=”}}

所以,暂时还不知道如何通过脚本获得对应的地址,然后解析返回值。
暂时只能通过google的chrome的开饭人员工具,去获得对应的上述返回值。

通过该返回值,可以看到对应的download域的值是:
https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1

此地址,即为:
https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1

然后用浏览器打开:
https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3
即为对应的地址:
https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3
浏览器即会调用对应的播放器去播放该歌曲了
对应的,也是该歌曲“预感时枯萎 なアーティスト.mp3”的可以下载的地址了。

 

有空的话,还是要搞清楚,如果才能生成有效的request url,然后用python脚本再去处理,解析,下载对应mp3.


后来再去分析,发现:

https://skydrive.live.com/API/2/GetItems?id=9a8b8bf501a38a36%21504&cid=9a8b8bf501a38a36&group=0&qt=&ft=&sb=1&sr=0&d=1&lid=9A8B8BF501A38A36!504&caller=&path=0

&sid=9A8B8BF501A38A36!522
&ps=100&pi=5&m=zh-CN&rset=web&lct=1&v=634613457185730000

的返回值是:
{“items”:[{“commands”:”defc,1,dl,1,pm,1″,”commentCount”:0,”creationDate”:634079507066470000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”5,002 KB”,”folder”:{“category”:0,”childCount”:2,”children”:[{“audio”:{“artist”:”Oph¨?lie Winter”,”duration”:139439,”genre”:”Other”,”mimeType”:”audio/mpeg”,”title”:”Affection”,”year”:2010},”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634613432750870000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2012/1/5″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”2,178 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!522″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613432750870000,”name”:”★▁▏真假友情 ┃英女┃20.May.2011 卍 AFFECTION 尘陌忆”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2230050″,”thumbnailSet”:{“baseUrl”:”https://by”,”id”:”9A8B8BF501A38A36!522″,”thumbnails”:[{“height”:200,”name”:”scaledLargest”,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:FullScreen/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:128,”name”:”height128″,”url”:”files.storage.live.com/y1pGhMf-e9bEIkigPrLZSNXIuGFPDsnZR-5MwpEwIIacIwUgX-RPzqLDP-hzH6C0uoeL_azRpV_5jc/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1″,”width”:128},{“height”:200,”name”:”width228″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:ConstantWidth228/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:200,”name”:”scaled1024″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:Scaled1024/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200}]},”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pKz14CHGb3m_x1cRaOuJYYQfpi3nCf3j4WIrmx54X4R6_eZI1AkOZ0i61sBZmT-zvGe1MQJVl0nJ85bmriUaVaQ/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!522&parid=9A8B8BF501A38A36!504″},”userRole”:2},{“audio”:{“mimeType”:”audio/mpeg”},”caption”:””,”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634079507896770000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2010/4/27″,”displaySize”:”2,825 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!505″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634079507897400000,”name”:”预感时枯萎 なアーティスト”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2891855″,”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!505&parid=9A8B8BF501A38A36!504″},”userRole”:2}],”documentCount”:2,”folderCount”:0,”photoCount”:0,”startIndex”:0,”totalCount”:2},”group”:0,”iconType”:”NonEmptyDocumentFolder”,”id”:”9A8B8BF501A38A36!504″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613457185730000,”name”:”music”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”root”,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”5121905″,”urls”:{“viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!504&parid=9A8B8BF501A38A36!466″},”userRole”:2}],”originId”:”0.8763843183405697″}

 

https://skydrive.live.com/API/2/GetItems?id=9a8b8bf501a38a36%21504&cid=9a8b8bf501a38a36&group=0&qt=&ft=&sb=1&sr=0&d=1&lid=9A8B8BF501A38A36!504&caller=&path=0

&si=0
&ps=100&pi=5&m=zh-CN&rset=web&lct=1&v=0.8950186939910054
的返回值是:
{“items”:[{“commands”:”defc,1,dl,1,pm,1″,”commentCount”:0,”creationDate”:634079507066470000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”5,002 KB”,”folder”:{“category”:0,”childCount”:2,”children”:[{“audio”:{“artist”:”Oph¨?lie Winter”,”duration”:139439,”genre”:”Other”,”mimeType”:”audio/mpeg”,”title”:”Affection”,”year”:2010},”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634613432750870000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2012/1/5″,”displayModifiedDate”:”2012/1/5″,”displaySize”:”2,178 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!522″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613432750870000,”name”:”★▁▏真假友情 ┃英女┃20.May.2011 卍 AFFECTION 尘陌忆”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2230050″,”thumbnailSet”:{“baseUrl”:”https://by”,”id”:”9A8B8BF501A38A36!522″,”thumbnails”:[{“height”:200,”name”:”scaledLargest”,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:FullScreen/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:128,”name”:”height128″,”url”:”files.storage.live.com/y1pGhMf-e9bEIkigPrLZSNXIuGFPDsnZR-5MwpEwIIacIwUgX-RPzqLDP-hzH6C0uoeL_azRpV_5jc/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1″,”width”:128},{“height”:200,”name”:”width228″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:ConstantWidth228/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200},{“height”:200,”name”:”scaled1024″,”url”:”2.storage.live.com/items/9A8B8BF501A38A36!522:Scaled1024/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?psid=1&ck=0&ex=720″,”width”:200}]},”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pKz14CHGb3m_x1cRaOuJYYQfpi3nCf3j4WIrmx54X4R6_eZI1AkOZ0i61sBZmT-zvGe1MQJVl0nJ85bmriUaVaQ/%E2%98%85%E2%96%81%E2%96%8F%E7%9C%9F%E5%81%87%E5%8F%8B%E6%83%85%20%E2%94%83%E8%8B%B1%E5%A5%B3%E2%94%8320.May.2011%20%E5%8D%8D%20AFFECTION%20%E5%B0%98%E9%99%8C%E5%BF%86.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!522&parid=9A8B8BF501A38A36!504″},”userRole”:2},{“audio”:{“mimeType”:”audio/mpeg”},”caption”:””,”commands”:”defc,4,dl,3,pm,1″,”commentCount”:0,”creationDate”:634079507896770000,”creatorCid”:”9A8B8BF501A38A36″,”creatorName”:”wang tian”,”displayCreationDate”:”2010/4/27″,”displayModifiedDate”:”2010/4/27″,”displaySize”:”2,825 KB”,”extension”:”.mp3″,”group”:0,”iconType”:”Audio”,”id”:”9A8B8BF501A38A36!505″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634079507897400000,”name”:”预感时枯萎 なアーティスト”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”9A8B8BF501A38A36!504″,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”2891855″,”urls”:{“download”:”https://zxhpmw.bay.livefilestore.com/y1pMgNm72fT0EJzGEm-uS-R3E1SmfSQJANOg8rK23x8OKz_MshQaZ9kB-giMUYD110s1vUn0sWXySaHFW8s6eBeUg/%E9%A2%84%E6%84%9F%E6%97%B6%E6%9E%AF%E8%90%8E%20%E3%81%AA%E3%82%A2%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B9%E3%83%88.mp3?download&psid=1″,”viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!505&parid=9A8B8BF501A38A36!504″},”userRole”:2}],”documentCount”:2,”folderCount”:0,”photoCount”:0,”startIndex”:0,”totalCount”:2},”group”:0,”iconType”:”NonEmptyDocumentFolder”,”id”:”9A8B8BF501A38A36!504″,”lastModifierCid”:”9A8B8BF501A38A36″,”lastModifierName”:”wang tian”,”modifiedDate”:634613457185730000,”name”:”music”,”ownerCid”:”9A8B8BF501A38A36″,”ownerDCid”:”-7310595685695124938″,”ownerName”:”wang tian”,”parentId”:”root”,”sharingLevel”:”所有人(公共)”,”sharingLevelValue”:0,”size”:”5121905″,”urls”:{“viewInBrowser”:”https://skydrive.live.com/redir.aspx?cid=9a8b8bf501a38a36&page=view&resid=9A8B8BF501A38A36!504&parid=9A8B8BF501A38A36!466″},”userRole”:2}],”originId”:”0.8950186939910054″}

两者都可以,对比两种url:
https://skydrive.live.com/API/2/GetItems?id=9a8b8bf501a38a36%21504&cid=9a8b8bf501a38a36&group=0&qt=&ft=&sb=1&sr=0&d=1&lid=9A8B8BF501A38A36!504&caller=&path=0
&si=0
&ps=100&pi=5&m=zh-CN&rset=web&lct=1
&v=0.8950186939910054

https://skydrive.live.com/API/2/GetItems?id=9a8b8bf501a38a36%21504&cid=9a8b8bf501a38a36&group=0&qt=&ft=&sb=1&sr=0&d=1&lid=9A8B8BF501A38A36!504&caller=&path=0
&sid=9A8B8BF501A38A36!522
&ps=100&pi=5&m=zh-CN&rset=web&lct=1
&v=634613457185730000

可见,两者是:
si=0,再加上对应的v=random
sid=xxx,加上v=modifyTime

 

后来,对于上述方法,尝试了很多次,都以失败告终,因为生成的请求的url,打开后,返回的内容都是错误的值,说是appID失效,导致无法用此法去获得对应的内容。

后来改用别的方法了,即先打开skydrive的主要入口地址,比如:

https://skydrive.live.com/?cid=9a8b8bf501a38a36

然后再去从打开的网页中,得到当前所在文件夹下面所包含的内容,即有哪些子文件夹和文件。

对于每个文件夹,都可以找到一个对应的id,比如可以找到一个类似这样的ID:

9A8B8BF501A38A36%21504

然后拼接起来,得到完整的url:

https://skydrive.live.com/?cid=9a8b8bf501a38a36&id=9A8B8BF501A38A36%21504

打开这个url,返回的内容,就是可以看到对应的所包含的对应的文件,及其download地址了。

如此递归地处理每一个文件夹,就可以获得所有的文件的真实的地址了。

 

好了,方法都解释了,感兴趣的人,可以自己去找你所要的文件的真实的链接地址了。

转载请注明:在路上 » 【已解决】如何获得Skydrive中文件(包括MP3歌曲)(以mp3为后缀)的真实下载地址

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
56 queries in 0.103 seconds, using 18.97MB memory