recommend the list of pages. Click on the page of the playlist. After the route is redirected, get the data in this page
written in jsonp:
getRecommendListData () {
var urlDisstid = location.href
var id = urlDisstid.lastIndexOf("/")
var urlid = urlDisstid.substring(id + 1, urlDisstid.length)
Jsonp(
"https://c.y.qq.com/qzone/fcg-bin/fcg_ucc_getcdinfo_byids_cp.fcg",
{
type: 1,
json: 1,
utf8: 1,
onlysong: 0,
disstid: urlid,
format: "jsonp",
g_tk: 5381,
loginUin: 0,
hostUin: 0,
format: "jsonp",
inCharset: "utf8",
outCharset: "utf - 8",
notice: 0,
platform: "yqq",
needNewCode: 0
}
).then(res => {
console.log(res)
})
jp1 is not defined
jp0
how did you do it? Why mine is different