|

楼主 |
发表于 2017-7-6 15:55:46
|
显示全部楼层
还有,不要token的网址是一个回调函数类型,如:
callbackfunction({"from":"local","result":"suee","format":"mp4","timelength":283300,"accept_format":"mp4","accept_quality":[1],"seek_param":"start","seek_type":"second","durl":[{"order":1,"length":283300,"size":17523037,"url":"http:\/\/cn-gdfs4-dx-v-02.acgvideo.com\/vg3\/a\/a1\/19428000-1.mp4?expires=1499332200&platform=html5&ssig=JQVbBPOCKmwLXApHInju-A&oi=1851272527&nfa=fkYkF\/LEe5xFyJPq\/bZ9eQ==&dynamic=1&hfa=2070857990"}],"img":"https:\/\/i2.hdslb.com\/bfs\/archive\/76932ea52429f546febb25aedc5e3d30ecbb6877.jpg","cid":"http:\/\/comment.bilibili.com\/19428000.xml","fromview":"vupload"});
这个用requests请求只能得到 “callbackfunction({"code":40000,"message":"bad request"});”, |
|