本地解析蓝奏云直链,改掉后台和截取内容即可。主要作用:实现软件内更新,不用再跳转到手机浏览器下载,直接在app里面更新在这里给大家推荐一款iapp免费后台,功能强大,免费对接!
代码如下:
hdd("Qc","Qc",3,3,2,25000, true)
//配置下载信息
t()
{
hs("这里填你的后台链接",a)
sj(a,"截取更新链接","截取更新链接",bb)
sr(bb,"com/","com/tp/",lj)
hs(lj,null,"utf-8", null, true, "User-Agent=Mozilla/5.0 (Linux; Android 8.0.0; MHA-AL00 Build/HUAWEIMHA-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/65.0.3325.109 Mobile Safari/537.36", url)
sj(url,"var domianload = '","';",qm)
sj(url,"'?","';",hm)
ss(qm+"?"+hm,xz)
ufnsui()
{
nvw(c,null,"浏览器","width=-1\nheight=-1",sc)
ssj(sc,"ondownloadstart")
{
t()
{
fe("%Qc/更新.apk",文件)
f(文件==true)
//判断文件是否存在
{
fo("%Qc/更新.apk")
//存在直接打开
}
else
{
hdda(st_url,"更新.apk","更新.apk",sss.v)
//如果没有则下载并打开
fo("%Qc/更新.apk")
}
}
}
us(sc,"url",xz)
}
}
拿走
拿了
拿走