uc和quark空指针
This commit is contained in:
parent
8a8991f03f
commit
089113fbe4
|
|
@ -227,12 +227,12 @@ public class UCApi {
|
||||||
header.remove("Host");
|
header.remove("Host");
|
||||||
header.remove("Content-Type");
|
header.remove("Content-Type");
|
||||||
|
|
||||||
/* //UCTV 可以直接播放,不需要代理
|
//UCTV 可以直接播放,不需要代理
|
||||||
if (testVideo(playUrl)) {
|
if (testVideo(playUrl)) {
|
||||||
SpiderDebug.log("UCTV 可以直接播放,不需要代理" );
|
SpiderDebug.log("UCTV 可以直接播放,不需要代理" );
|
||||||
|
|
||||||
return Result.get().url(playUrl).string();
|
return Result.get().url(playUrl).string();
|
||||||
}*/
|
}
|
||||||
return Result.get().url(ProxyServer.INSTANCE.buildProxyUrl(playUrl, new HashMap<>())).string();
|
return Result.get().url(ProxyServer.INSTANCE.buildProxyUrl(playUrl, new HashMap<>())).string();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue