嗅探逻辑优化

This commit is contained in:
晚风拂柳颜 2023-05-11 17:36:06 +08:00
parent 08391d5a00
commit 84d20b7fbb
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
3.9.41beta24
3.9.41beta25

View File

@ -253,7 +253,9 @@ const app = createApp({
if(!res.data.parse&&res.data.url){
console.log(ctx.value);
iframeSrc.value = ctx.value.path+'?url='+res.data.url;
}else if(res.data.parse&&res.data.url){
}else if(/url=/.test(res.data.url)){
iframeSrc.value = res.data.url;
} else if((res.data.parse||res.data.jx)&&res.data.url){
console.log(ctx.value);
iframeSrc.value = res.data.url;
if(confirm('该视频来自其它正版地址,drpy网页暂未实现解析功能,是否跳到正版站通过油猴插件等手段播放?')){