mirror of
https://github.com/develop202/migu_video.git
synced 2025-12-19 00:04:59 +08:00
修复原画以上画质无会员不能播放TV的问题
This commit is contained in:
@@ -67,7 +67,7 @@ async function getAndroidURL(userId, token, pid, rateType) {
|
||||
const baseURL = "https://play.miguvideo.com/playurl/v1/play/playurl"
|
||||
let params = "?sign=" + result.sign + "&rateType=" + rateType
|
||||
+ "&contId=" + pid + "×tamp=" + timestramp + "&salt=" + result.salt
|
||||
+ "&flvEnable=true&super4k=true&trackSubtitle=true&h265N=true"
|
||||
+ "&flvEnable=true&super4k=true&h265N=true"
|
||||
let respData = await fetch(baseURL + params, {
|
||||
headers: headers
|
||||
}).then(r => r.json())
|
||||
@@ -75,8 +75,9 @@ async function getAndroidURL(userId, token, pid, rateType) {
|
||||
if (respData.rid == 'TIPS_NEED_MEMBER') {
|
||||
printYellow("该账号没有会员 正在降低画质")
|
||||
|
||||
params = "?sign=" + result.sign + "&rateType=" + (rateType - 1)
|
||||
params = "?sign=" + result.sign + "&rateType=3"
|
||||
+ "&contId=" + pid + "×tamp=" + timestramp + "&salt=" + result.salt
|
||||
+ "&flvEnable=true&super4k=true&h265N=true"
|
||||
respData = await fetch(baseURL + params, {
|
||||
headers: headers
|
||||
}).then(r => r.json())
|
||||
|
||||
Reference in New Issue
Block a user