tg搜优化,introduce优化
This commit is contained in:
parent
8c5f60089f
commit
223c43a656
|
|
@ -309,7 +309,7 @@ public class TianYiHandler {
|
|||
Map<String, List<String>> okResult = OkHttp.getLocationHeader(redirectUrl, getHeader(redirectUrl));
|
||||
saveCookie(okResult.get("Set-Cookie"), redirectUrl);
|
||||
SpiderDebug.log("扫码返回数据:" + Json.toJson(okResult));
|
||||
if (okResult.containsKey("set-cookie")) {
|
||||
if (okResult.containsKey("Set-Cookie")) {
|
||||
|
||||
//停止检验线程,关闭弹窗
|
||||
stopService();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
package com.github.catvod.spider;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import com.github.catvod.api.TianYiHandler;
|
||||
import com.github.catvod.api.UCTokenHandler;
|
||||
import com.github.catvod.bean.Class;
|
||||
|
|
@ -58,7 +59,7 @@ public class Introduce extends Spider {
|
|||
String name1 = "清除cookie";
|
||||
vodList.add(new Vod("clean天翼cookie", name1, pic1));
|
||||
}
|
||||
return Result.get().vod(vodList).string();
|
||||
return Result.get().vod(vodList).page().string();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ public class TgSearch extends Cloud {
|
|||
@Override
|
||||
public String searchContent(String key, boolean quick) throws Exception {
|
||||
|
||||
String url = URL + "?channelUsername=XiangxiuNB,yunpanpan,kuakeyun,zaihuayun,Quark_Movies,alyp_4K_Movies,vip115hot,yunpanshare,dianyingshare&keyword=" + URLEncoder.encode(key, Charset.defaultCharset().name());
|
||||
String url = URL + "?channelUsername=tianyirigeng,tyypzhpd,XiangxiuNB,yunpanpan,kuakeyun,zaihuayun,Quark_Movies,alyp_4K_Movies,vip115hot,yunpanshare,dianyingshare&keyword=" + URLEncoder.encode(key, Charset.defaultCharset().name());
|
||||
List<Vod> list = new ArrayList<>();
|
||||
String html = OkHttp.string(url, getHeader());
|
||||
String[] arr = html.split(":I");
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
46b02195352aa181391b22db4590ffc4
|
||||
e180e9908b1303c5cc3686b9002fdbaf
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;46b02195352aa181391b22db4590ffc4",
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;e180e9908b1303c5cc3686b9002fdbaf",
|
||||
"lives": [
|
||||
{
|
||||
"name": "电视直播",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;3b36586b88952e9599f43fe755b4480f",
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;e180e9908b1303c5cc3686b9002fdbaf",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;3b36586b88952e9599f43fe755b4480f",
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;e180e9908b1303c5cc3686b9002fdbaf",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
Loading…
Reference in New Issue