Merge pull request #78 from Tangsan99999/master

维修
This commit is contained in:
catvod 2021-12-06 09:25:39 +08:00 committed by GitHub
commit 2ffdf93864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 2323 additions and 973 deletions

400
XPath.md
View File

@ -5,186 +5,226 @@
为控制配置文件容量同时支持在ext字段中直接配置规则和拉取规则的网址。 2021.10.21 by 小黄瓜
```json
{
"key": "csp_xpath_94sm",
"name": "94神马(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/94sm.json"
},
{
"key": "csp_xpath_jpys",
"name": "极品影视(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/jpys.json"
},
{
"key": "csp_xpath_age",
"name": "AGE动漫(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/agefans.json"
},
{
"key": "csp_xpath_jpyszl",
"name": "极品直链(XPath)",
"type": 3,
"api": "csp_XPathMac",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/jpys.json"
},
{
"key": "csp_xpath_cjt",
"name": "CJT影视(XPath)",
"type": 3,
"api": "csp_XPathMac",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/cjtys.json"
},
{
"key": "csp_xpath_nfmov",
"name": "NFMovies(XPath)",
"type": 3,
"api": "csp_XPathNfMov",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/nfmovie.json"
},
{
"key": "csp_xpath_Jumi",
"name": "Jumi(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/jumi.json"
},
{
"key": "csp_xpath_tvci",
"name": "大师兄(XPath)",
"type": 3,
"api": "csp_XPathFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/tvci.json"
},
{
"key": "csp_xpath_duboku",
"name": "独播库(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/duboku.json"
},
{
"key": "csp_xpath_saohuotv",
"name": "骚火电影(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/saohuotv2.json"
},
{
"key": "csp_xpath_dm84",
"name": "动漫巴士(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/dm84.json"
},
{
"key": "csp_xpath_egg",
"name": "蛋蛋影院(XPath)",
"type": 3,
"api": "csp_XPathEgg",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/egg.json"
},
{
"key": "csp_xpath_555",
"name": "555电影(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/555.json"
},
{
"key": "csp_xpath_sky4k",
"name": "天空4K(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/sky4k.json"
},
{
"key": "csp_xpath_4kyu",
"name": "一只鱼4K(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/4kyu.json"
},
{
"key":"csp_xpath_miniku",
"name":"Miniku(XPath)",
"type":3,
"api":"csp_XPath",
"searchable":1,
"quickSearch":1,
"filterable": 0,
"ext":"https://cdn.jsdelivr.net/gh/Tangsan99999/CatVodTVSpider@master/xpath/miniku.json"
},
{
"key":"csp_xpath_pianba",
"name":"Pianba(XPath)",
"type":3,
"api":"csp_XPath",
"searchable":1,
"quickSearch":1,
"filterable": 0,
"ext":"https://cdn.jsdelivr.net/gh/Tangsan99999/CatVodTVSpider@master/xpath/pianba.json"
},
{
"key":"csp_xpath_Ole",
"name":"Ole(EXO)",
"type":3,
"api":"csp_XPath",
"searchable":1,
"quickSearch":1,
"filterable": 0,
"ext":"https://cdn.jsdelivr.net/gh/Tangsan99999/CatVodTVSpider@master/xpath/olevod.json"
}
{
"key": "csp_xpath_94sm",
"name": "94神马(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/94sm.json"
},
{
"key": "csp_xpath_jpys",
"name": "极品影视(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/jpys.json"
},
{
"key": "csp_xpath_age",
"name": "AGE动漫(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/agefans.json"
},
{
"key": "csp_xpath_jpyszl",
"name": "极品直链(XPath)",
"type": 3,
"api": "csp_XPathMac",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/jpys.json"
},
{
"key": "csp_xpath_cjt",
"name": "CJT影视(XPath)",
"type": 3,
"api": "csp_XPathMac",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/cjtys.json"
},
{
"key": "csp_xpath_tvci",
"name": "大师兄(XPath)",
"type": 3,
"api": "csp_XPathFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/tvci.json"
},
{
"key": "csp_xpath_saohuotv",
"name": "骚火电影(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/saohuotv2.json"
},
{
"key": "csp_xpath_dm84",
"name": "动漫巴士(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/dm84.json"
},
{
"key": "csp_xpath_egg",
"name": "蛋蛋影院(XPath)",
"type": 3,
"api": "csp_XPathEgg",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/egg.json"
},
{
"key": "csp_xpath_555",
"name": "555电影(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/555.json"
},
{
"key": "csp_xpath_4kyu",
"name": "一只鱼4K(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/4kyu.json"
},
{
"key": "csp_xpath_miniku",
"name": "Miniku(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/CatVodTVSpider@master/xpath/miniku.json"
},
{
"key": "csp_xpath_pianba",
"name": "Pianba(XPath)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/CatVodTVSpider@master/xpath/pianba.json"
},
{
"key": "csp_xpath_Ole",
"name": "Ole(EXO)",
"type": 3,
"api": "csp_XPath",
"searchable": 1,
"quickSearch": 1,
"filterable": 0,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/CatVodTVSpider@master/xpath/olevod.json"
},
{
"key": "唐人街",
"name": "唐人街(P)",
"type": 3,
"api": "csp_XPathMacFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Renjie.json"
},
{
"key": "Gimy",
"name": "Gimy(P)",
"type": 3,
"api": "csp_XPathMacFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Gimy.json"
},
{
"key": "Jumi",
"name": "Jumi(P)",
"type": 3,
"api": "csp_XPathMacFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Jumi.json"
},
{
"key": "Djx",
"name": "瓜皮TV(P)",
"type": 3,
"api": "csp_XPathFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Djx.json"
},
{
"key": "独播库",
"name": "独播库(P)",
"type": 3,
"api": "csp_XPathMacFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Duboku.json"
},
{
"key": "Sky4k",
"name": "Sky4k(P)[en]",
"type": 3,
"api": "csp_XPathMacFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Sky4k.json"
},
{
"key": "Nfuxs",
"name": "南府(P)",
"type": 3,
"api": "csp_XPathFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Nfuxs.json"
},
{
"key": "Aixixi",
"name": "爱西西(P)",
"type": 3,
"api": "csp_XPathFilter",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "https://cdn.jsdelivr.net/gh/Tangsan99999/cat@main/rewrite/xpath/Aixixi.json"
}
```

View File

@ -1,479 +0,0 @@
package com.github.catvod.spider;
import android.content.Context;
import android.text.TextUtils;
import android.util.Base64;
import com.github.catvod.crawler.Spider;
import com.github.catvod.crawler.SpiderDebug;
import com.github.catvod.crawler.SpiderReq;
import com.github.catvod.crawler.SpiderReqResult;
import com.github.catvod.crawler.SpiderUrl;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Demo for self study
* <p>
* Source from Author: CatVod
*/
public class Djx extends Spider {
private static final String siteUrl = "https://www.dijiaxia.com";
private static final String siteHost = "dijiaxia.com";
protected JSONObject playerConfig;
protected JSONObject filterConfig;
protected Pattern regexCategory = Pattern.compile("/index.php/vod/type/id/(\\S+).html");
protected Pattern regexVid = Pattern.compile("/index.php/vod/detail/id/(\\d+).html");
protected Pattern regexPlay = Pattern.compile("/index.php/vod/play/id/(\\d+)/sid/(\\d+)/nid/(\\d+).html");
protected Pattern regexPage = Pattern.compile("\\S+/page/(\\d+)\\S+");
@Override
public void init(Context context) {
super.init(context);
try {
playerConfig = new JSONObject("{\"4kmv\":{\"sh\":\"4K蓝光\",\"sn\":0,\"pu\":\"\",\"or\":999},\"HY4K1\":{\"sh\":\"极速蓝光-推荐\",\"sn\":0,\"pu\":\"\",\"or\":999},\"duoduozy\":{\"sh\":\"自营秒播-推荐\",\"sn\":1,\"pu\":\"https://player.duoduozy.com/ddplay/?url=\",\"or\":999},\"renrenmi\":{\"sh\":\"稳定秒播-推荐\",\"sn\":1,\"pu\":\"https://rr.4kbuka.com/?url=\",\"or\":999},\"hnm3u8\":{\"sh\":\"HN备用\",\"sn\":0,\"pu\":\"\",\"or\":999},\"wjm3u8\":{\"sh\":\"WJ备用\",\"sn\":0,\"pu\":\"\",\"or\":999},\"qq\":{\"sh\":\"腾讯视频\",\"sn\":1,\"pu\":\"https://dmku.dijiaxia.com/?url=\",\"or\":999},\"youku\":{\"sh\":\"优酷视频\",\"sn\":1,\"pu\":\"https://dmku.dijiaxia.com/?url=\",\"or\":999},\"qiyi\":{\"sh\":\"奇艺视频\",\"sn\":1,\"pu\":\"https://dmku.dijiaxia.com/?url=\",\"or\":999},\"bilibili\":{\"sh\":\"哔哩哔哩\",\"sn\":0,\"pu\":\"\",\"or\":999},\"mgtv\":{\"sh\":\"芒果TV\",\"sn\":1,\"pu\":\"https://dmku.dijiaxia.com/?url=\",\"or\":999},\"pptv\":{\"sh\":\"PPTV\",\"sn\":1,\"pu\":\"https://dmku.dijiaxia.com/?url=\",\"or\":999},\"sohu\":{\"sh\":\"搜狐视频\",\"sn\":1,\"pu\":\"https://dmku.dijiaxia.com/?url=\",\"or\":999},\"letv\":{\"sh\":\"搜狐视频\",\"sn\":1,\"pu\":\"https://dmku.dijiaxia.com/?url=\",\"or\":999}}");
filterConfig = new JSONObject("{\"1\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"動作片\",\"v\":\"6\"},{\"n\":\"喜劇片\",\"v\":\"7\"},{\"n\":\"愛情片\",\"v\":\"8\"},{\"n\":\"科幻片\",\"v\":\"9\"},{\"n\":\"恐怖片\",\"v\":\"10\"},{\"n\":\"劇情片\",\"v\":\"11\"},{\"n\":\"戰爭片\",\"v\":\"12\"},{\"n\":\"紀錄片\",\"v\":\"20\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"大陸\",\"v\":\"大陸\"},{\"n\":\"香港\",\"v\":\"香港\"},{\"n\":\"台灣\",\"v\":\"台灣\"},{\"n\":\"美國\",\"v\":\"美國\"},{\"n\":\"法國\",\"v\":\"法國\"},{\"n\":\"英國\",\"v\":\"英國\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韓國\",\"v\":\"韓國\"},{\"n\":\"德國\",\"v\":\"德國\"},{\"n\":\"泰國\",\"v\":\"泰國\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"意大利\",\"v\":\"意大利\"},{\"n\":\"西班牙\",\"v\":\"西班牙\"},{\"n\":\"加拿大\",\"v\":\"加拿大\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"2\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"大陸劇\",\"v\":\"13\"},{\"n\":\"港劇\",\"v\":\"14\"},{\"n\":\"台劇\",\"v\":\"15\"},{\"n\":\"日劇\",\"v\":\"16\"},{\"n\":\"韓劇\",\"v\":\"23\"},{\"n\":\"美劇\",\"v\":\"24\"},{\"n\":\"海外劇\",\"v\":\"25\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"3\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"港台綜藝\",\"v\":\"29\"},{\"n\":\"日韓綜藝\",\"v\":\"30\"},{\"n\":\"大陸綜藝\",\"v\":\"31\"},{\"n\":\"歐美綜藝\",\"v\":\"32\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"4\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"港台動漫\",\"v\":\"33\"},{\"n\":\"日韓動漫\",\"v\":\"34\"},{\"n\":\"大陸動漫\",\"v\":\"35\"},{\"n\":\"歐美動漫\",\"v\":\"36\"},{\"n\":\"海外動漫\",\"v\":\"37\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}]}");
} catch (JSONException e) {
SpiderDebug.log(e);
}
}
/**
* 爬虫headers
*
* @param url
* @return
*/
protected HashMap<String, String> getHeaders(String url) {
HashMap<String, String> headers = new HashMap<>();
headers.put("method", "GET");
headers.put("Host", siteHost);
headers.put("Upgrade-Insecure-Requests", "1");
headers.put("DNT", "1");
headers.put("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36");
headers.put("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8");
headers.put("Accept-Language", "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2");
return headers;
}
/**
* 获取分类数据 + 首页最近更新视频列表数据
*
* @param filter 是否开启筛选 关联的是 软件设置中 首页数据源里的筛选开关
* @return
*/
@Override
public String homeContent(boolean filter) {
try {
String url = siteUrl + '/';
SpiderUrl su = new SpiderUrl(url, getHeaders(url));
SpiderReqResult srr = SpiderReq.get(su);
Document doc = Jsoup.parse(srr.content);
Elements elements = doc.select("ul.nav-menu>li>a");
JSONArray classes = new JSONArray();
ArrayList<String> allClass = new ArrayList<>();
for (Element ele : elements) {
String name = ele.text();
boolean show = !filter || (name.equals("电影") || name.equals("连续剧") || name.equals("综艺") || name.equals("动漫"));
if (allClass.contains(name))
show = false;
if (show) {
allClass.add(name);
Matcher mather = regexCategory.matcher(ele.attr("href"));
if (!mather.find())
continue;
// 把分类的id和名称取出来加到列表里
String id = mather.group(1).trim();
JSONObject jsonObject = new JSONObject();
jsonObject.put("type_id", id);
jsonObject.put("type_name", name);
classes.put(jsonObject);
}
}
JSONObject result = new JSONObject();
if (filter) {
result.put("filters", filterConfig);
}
result.put("class", classes);
try {
// 取首页推荐视频列表
Elements list = doc.select("div.col-lg-wide-75 > ul.myui-vodlist li div.myui-vodlist__box");
JSONArray videos = new JSONArray();
for (int i = 0; i < list.size(); i++) {
Element vod = list.get(i);
String title = vod.selectFirst(".title").text();
String cover = vod.selectFirst(".myui-vodlist__thumb").attr("data-original");
String remark = vod.selectFirst("span.pic-text").text();
Matcher matcher = regexVid.matcher(vod.selectFirst(".myui-vodlist__thumb").attr("href"));
if (!matcher.find())
continue;
String id = matcher.group(1);
JSONObject v = new JSONObject();
v.put("vod_id", id);
v.put("vod_name", title);
v.put("vod_pic", cover);
v.put("vod_remarks", remark);
videos.put(v);
}
result.put("list", videos);
} catch (Exception e) {
SpiderDebug.log(e);
}
return result.toString();
} catch (Exception e) {
SpiderDebug.log(e);
}
return "";
}
/**
* 获取分类信息数据
*
* @param tid 分类id
* @param pg 页数
* @param filter 同homeContent方法中的filter
* @param extend 筛选参数{k:v, k1:v1}
* @return
*/
@Override
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) {
try {
String url = siteUrl + "/index.php/vod/show/id/";
if (extend != null && extend.size() > 0 && extend.containsKey("tid") && extend.get("tid").length() > 0) {
url += extend.get("tid");
} else {
url += tid;
}
if (extend != null && extend.size() > 0) {
for (Iterator<String> it = extend.keySet().iterator(); it.hasNext(); ) {
String key = it.next();
String value = extend.get(key);
if (value.length() > 0) {
url += "/" + key + "/" + URLEncoder.encode(value);
}
}
}
url += "/page/" + pg + ".html";
SpiderUrl su = new SpiderUrl(url, getHeaders(url));
SpiderReqResult srr = SpiderReq.get(su);
Document doc = Jsoup.parse(srr.content);
JSONObject result = new JSONObject();
int pageCount = 0;
int page = -1;
// 取页码相关信息
Elements pageInfo = doc.select(".myui-page li a");
if (pageInfo.size() == 0) {
page = Integer.parseInt(pg);
pageCount = page;
} else {
for (int i = 0; i < pageInfo.size(); i++) {
Element a = pageInfo.get(i);
String name = a.text();
if (page == -1 && a.hasClass("btn-warm")) {
Matcher matcher = regexPage.matcher(a.attr("href"));
if (matcher.find()) {
page = Integer.parseInt(matcher.group(1).trim());
} else {
page = 0;
}
}
if (name.equals("尾页")) {
Matcher matcher = regexPage.matcher(a.attr("href"));
if (matcher.find()) {
pageCount = Integer.parseInt(matcher.group(1).trim());
} else {
pageCount = 0;
}
break;
}
}
}
JSONArray videos = new JSONArray();
if (!srr.content.contains("没有找到您想要的结果哦")) {
// 取当前分类页的视频列表
Elements list = doc.select("ul.myui-vodlist li div.myui-vodlist__box");
for (int i = 0; i < list.size(); i++) {
Element vod = list.get(i);
String title = vod.selectFirst(".title").text();
String cover = vod.selectFirst(".myui-vodlist__thumb").attr("data-original");
String remark = vod.selectFirst("span.pic-text").text();
Matcher matcher = regexVid.matcher(vod.selectFirst(".myui-vodlist__thumb").attr("href"));
if (!matcher.find())
continue;
String id = matcher.group(1);
JSONObject v = new JSONObject();
v.put("vod_id", id);
v.put("vod_name", title);
v.put("vod_pic", cover);
v.put("vod_remarks", remark);
videos.put(v);
}
}
result.put("page", page);
result.put("pagecount", pageCount);
result.put("limit", 48);
result.put("total", pageCount <= 1 ? videos.length() : pageCount * 48);
result.put("list", videos);
return result.toString();
} catch (Exception e) {
SpiderDebug.log(e);
}
return "";
}
/**
* 视频详情信息
*
* @param ids 视频id
* @return
*/
@Override
public String detailContent(List<String> ids) {
try {
// 视频详情url
String url = siteUrl + "/index.php/vod/detail/id/" + ids.get(0) + ".html";
SpiderUrl su = new SpiderUrl(url, getHeaders(url));
SpiderReqResult srr = SpiderReq.get(su);
Document doc = Jsoup.parse(srr.content);
JSONObject result = new JSONObject();
JSONObject vodList = new JSONObject();
// 取基本数据
String vid = doc.selectFirst("span.mac_hits").attr("data-id");
String cover = doc.selectFirst("a.myui-vodlist__thumb img").attr("data-original");
String title = doc.selectFirst("div.myui-content__detail h1.title").text();
String desc = Jsoup.parse(doc.selectFirst("meta[name=description]").attr("content")).text();
String category = "", area = "", year = "", remark = "", director = "", actor = "";
Elements span_text_muted = doc.select("div.myui-content__detail span.text-muted");
for (int i = 0; i < span_text_muted.size(); i++) {
Element text = span_text_muted.get(i);
String info = text.text();
if (info.equals("分类:")) {
category = text.nextElementSibling().text();
} else if (info.equals("年份:")) {
year = text.nextElementSibling().text();
} else if (info.equals("地区:")) {
area = text.nextElementSibling().text();
} else if (info.equals("更新:")) {
remark = text.nextElementSibling().text();
} else if (info.equals("导演:")) {
List<String> directors = new ArrayList<>();
Elements aa = text.parent().select("a");
for (int j = 0; j < aa.size(); j++) {
directors.add(aa.get(j).text());
}
director = TextUtils.join(",", directors);
} else if (info.equals("主演:")) {
List<String> actors = new ArrayList<>();
Elements aa = text.parent().select("a");
for (int j = 0; j < aa.size(); j++) {
actors.add(aa.get(j).text());
}
actor = TextUtils.join(",", actors);
}
}
vodList.put("vod_id", vid);
vodList.put("vod_name", title);
vodList.put("vod_pic", cover);
vodList.put("type_name", category);
vodList.put("vod_year", year);
vodList.put("vod_area", area);
vodList.put("vod_remarks", remark);
vodList.put("vod_actor", actor);
vodList.put("vod_director", director);
vodList.put("vod_content", desc);
Map<String, String> vod_play = new TreeMap<>(new Comparator<String>() {
@Override
public int compare(String o1, String o2) {
try {
int sort1 = playerConfig.getJSONObject(o1).getInt("or");
int sort2 = playerConfig.getJSONObject(o2).getInt("or");
if (sort1 == sort2) {
return 1;
}
return sort1 - sort2 > 0 ? 1 : -1;
} catch (JSONException e) {
SpiderDebug.log(e);
}
return 1;
}
});
// 取播放列表数据
Elements sources = doc.select("div.myui-panel__head>ul").get(0).select("li");
Elements sourceList = doc.select("div.tab-content>div.tab-pane");
for (int i = 0; i < sources.size(); i++) {
Element source = sources.get(i);
String sourceName = source.text();
boolean found = false;
for (Iterator<String> it = playerConfig.keys(); it.hasNext(); ) {
String flag = it.next();
if (playerConfig.getJSONObject(flag).getString("sh").equals(sourceName)) {
sourceName = flag;
found = true;
break;
}
}
if (!found)
continue;
String playList = "";
Elements playListA = sourceList.get(i).select("ul>li>a");
List<String> vodItems = new ArrayList<>();
for (int j = 0; j < playListA.size(); j++) {
Element vod = playListA.get(j);
Matcher matcher = regexPlay.matcher(vod.attr("href"));
if (!matcher.find())
continue;
String playURL = matcher.group(1) + "/sid/" + matcher.group(2) + "/nid/" + matcher.group(3);
vodItems.add(vod.text() + "$" + playURL);
}
if (vodItems.size() > 0)
playList = TextUtils.join("#", vodItems);
if (playList.length() == 0)
continue;
vod_play.put(sourceName, playList);
}
if (vod_play.size() > 0) {
String vod_play_from = TextUtils.join("$$$", vod_play.keySet());
String vod_play_url = TextUtils.join("$$$", vod_play.values());
vodList.put("vod_play_from", vod_play_from);
vodList.put("vod_play_url", vod_play_url);
}
JSONArray list = new JSONArray();
list.put(vodList);
result.put("list", list);
return result.toString();
} catch (Exception e) {
SpiderDebug.log(e);
}
return "";
}
/**
* 获取视频播放信息
*
* @param flag 播放源
* @param id 视频id
* @param vipFlags 所有可能需要vip解析的源
* @return
*/
@Override
public String playerContent(String flag, String id, List<String> vipFlags) {
try {
//定义播放用的headers
JSONObject headers = new JSONObject();
//headers.put("Host", " cokemv.co");
headers.put("origin", " https://www.dijiaxia.com");
headers.put("User-Agent", " Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36");
headers.put("Accept", " */*");
headers.put("Accept-Language", " zh-CN,zh;q=0.9,en-US;q=0.3,en;q=0.7");
headers.put("Accept-Encoding", " gzip, deflate");
// 播放页 url
String url = siteUrl + "/index.php/vod/play/id/" + id + ".html";
SpiderUrl su = new SpiderUrl(url, getHeaders(url));
SpiderReqResult srr = SpiderReq.get(su);
Document doc = Jsoup.parse(srr.content);
Elements allScript = doc.select("script");
JSONObject result = new JSONObject();
for (int i = 0; i < allScript.size(); i++) {
String scContent = allScript.get(i).html().trim();
if (scContent.startsWith("var player_")) { // 取直链
int start = scContent.indexOf('{');
int end = scContent.lastIndexOf('}') + 1;
String json = scContent.substring(start, end);
JSONObject player = new JSONObject(json);
if (playerConfig.has(player.getString("from"))) {
JSONObject pCfg = playerConfig.getJSONObject(player.getString("from"));
String videoUrl = player.getString("url");
String playUrl = pCfg.getString("pu");
result.put("parse", pCfg.getInt("sn"));
result.put("playUrl", playUrl);
result.put("url", videoUrl);
result.put("header", headers.toString());
}
break;
}
}
return result.toString();
} catch (Exception e) {
SpiderDebug.log(e);
}
return "";
}
@Override
public String searchContent(String key, boolean quick) {
try {
if (quick)
return "";
long currentTime = System.currentTimeMillis();
String url = siteUrl + "/index.php/ajax/suggest?mid=1&wd=" + URLEncoder.encode(key) + "&limit=10&timestamp=" + currentTime;
SpiderUrl su = new SpiderUrl(url, getHeaders(url));
SpiderReqResult srr = SpiderReq.get(su);
//Document doc = Jsoup.parse(srr.content);
JSONObject searchResult = new JSONObject(srr.content);
JSONObject result = new JSONObject();
JSONArray videos = new JSONArray();
if (searchResult.getInt("total") > 0) {
JSONArray lists = new JSONArray(searchResult.getString("list"));
for (int i = 0; i < lists.length(); i++) {
JSONObject vod = lists.getJSONObject(i);
String id = vod.getString("id");
String title = vod.getString("name");
String cover = vod.getString("pic");
JSONObject v = new JSONObject();
v.put("vod_id", id);
v.put("vod_name", title);
v.put("vod_pic", cover);
v.put("vod_remarks", "");
videos.put(v);
}
}
result.put("list", videos);
return result.toString();
} catch (Exception e) {
SpiderDebug.log(e);
}
return "";
}
}

View File

@ -53,7 +53,7 @@ public class Imaple extends Spider {
public void init(Context context) {
super.init(context);
try {
playerConfig = new JSONObject("{\"mlm3u8\":{\"sh\":\"藍光線一\",\"sn\":0,\"pu\":\"\",\"or\":999},\"alizy\":{\"sh\":\"藍光線三\",\"sn\":0,\"pu\":\"\",\"or\":999},\"dbm3u8\":{\"sh\":\"速雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"tkm3u8\":{\"sh\":\"天空雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"wjm3u8\":{\"sh\":\"理想雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"605m3u8\":{\"sh\":\"光速雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"kbm3u8\":{\"sh\":\"秒播雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"bjm3u8\":{\"sh\":\"八戒\",\"sn\":0,\"pu\":\"\",\"or\":999},\"hnm3u8\":{\"sh\":\"\",\"sn\":0,\"pu\":\"\",\"or\":999},\"bdxm3u8\":{\"sh\":\"\",\"sn\":0,\"pu\":\"\",\"or\":999},\"88zym3u8\":{\"sh\":\"優雅雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"youku\":{\"sh\":\"優酷\",\"sn\":1,\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"or\":999},\"mgtv\":{\"sh\":\"芒果\",\"sn\":1,\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"or\":999},\"88zym3u8\":{\"sh\":\"88\",\"sn\":0,\"pu\":\"\",\"or\":999},\"qiyi\":{\"sh\":\"奇藝\",\"sn\":1,\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"or\":999},\"dplayer\":{\"sh\":\"動漫專線\",\"sn\":0,\"pu\":\"\",\"or\":999},\"qq\":{\"sh\":\"騰訊雲\",\"sn\":1,\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"or\":999}}");
playerConfig = new JSONObject("{\"kbm3u8\":{\"sh\":\"秒播雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"bjm3u8\":{\"sh\":\"八戒雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"605m3u8\":{\"sh\":\"速雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"mlm3u8\":{\"sh\":\"藍光線一\",\"sn\":0,\"pu\":\"\",\"or\":999},\"alizy\":{\"sh\":\"藍光線三\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"dplayer\":{\"sh\":\"動漫專線\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"qdyun\":{\"sh\":\"驱动云\",\"sn\":0,\"pu\":\"\",\"or\":999},\"wjm3u8\":{\"sh\":\"理想\",\"sn\":0,\"pu\":\"\",\"or\":999},\"fanqie\":{\"sh\":\"番茄资源\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"youku\":{\"sh\":\"奇藝雲\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"qq\":{\"sh\":\"騰訊雲\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"mgtv\":{\"sh\":\"芒果\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"sohu\":{\"sh\":\"搜狐\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"88zym3u8\":{\"sh\":\"優雅雲\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"bilibili\":{\"sh\":\"嗶哩\",\"sn\":1,\"pu\":\"https://player.imaple.tv/player/?url=\",\"or\":999},\"dbm3u8\":{\"sh\":\"急速雲\",\"sn\":0,\"pu\":\"\",\"or\":999},\"tkm3u8\":{\"sh\":\"天空雲\",\"sn\":0,\"pu\":\"\",\"or\":999}}");
filterConfig = new JSONObject("{\"1\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"動作片\",\"v\":\"6\"},{\"n\":\"喜劇片\",\"v\":\"7\"},{\"n\":\"愛情片\",\"v\":\"8\"},{\"n\":\"科幻片\",\"v\":\"9\"},{\"n\":\"恐怖片\",\"v\":\"10\"},{\"n\":\"劇情片\",\"v\":\"11\"},{\"n\":\"戰爭片\",\"v\":\"12\"},{\"n\":\"紀錄片\",\"v\":\"20\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"大陸\",\"v\":\"大陸\"},{\"n\":\"香港\",\"v\":\"香港\"},{\"n\":\"台灣\",\"v\":\"台灣\"},{\"n\":\"美國\",\"v\":\"美國\"},{\"n\":\"法國\",\"v\":\"法國\"},{\"n\":\"英國\",\"v\":\"英國\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韓國\",\"v\":\"韓國\"},{\"n\":\"德國\",\"v\":\"德國\"},{\"n\":\"泰國\",\"v\":\"泰國\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"意大利\",\"v\":\"意大利\"},{\"n\":\"西班牙\",\"v\":\"西班牙\"},{\"n\":\"加拿大\",\"v\":\"加拿大\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"2\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"大陸劇\",\"v\":\"13\"},{\"n\":\"港劇\",\"v\":\"14\"},{\"n\":\"台劇\",\"v\":\"15\"},{\"n\":\"日劇\",\"v\":\"16\"},{\"n\":\"韓劇\",\"v\":\"23\"},{\"n\":\"美劇\",\"v\":\"24\"},{\"n\":\"海外劇\",\"v\":\"25\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"3\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"港台綜藝\",\"v\":\"29\"},{\"n\":\"日韓綜藝\",\"v\":\"30\"},{\"n\":\"大陸綜藝\",\"v\":\"31\"},{\"n\":\"歐美綜藝\",\"v\":\"32\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"4\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"港台動漫\",\"v\":\"33\"},{\"n\":\"日韓動漫\",\"v\":\"34\"},{\"n\":\"大陸動漫\",\"v\":\"35\"},{\"n\":\"歐美動漫\",\"v\":\"36\"},{\"n\":\"海外動漫\",\"v\":\"37\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":\"by\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}]}");
} catch (JSONException e) {
SpiderDebug.log(e);

View File

@ -3,6 +3,7 @@ package com.github.catvod.spider;
import android.content.Context;
import android.text.TextUtils;
import android.util.Base64;
import com.github.catvod.utils.Misc;
import com.github.catvod.crawler.Spider;
import com.github.catvod.crawler.SpiderDebug;
@ -19,6 +20,7 @@ import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.net.URLEncoder;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
@ -46,7 +48,7 @@ public class Juhi extends Spider {
public void init(Context context) {
super.init(context);
try {
playerConfig = new JSONObject("{\"tkm3u8\":{\"sh\":\"✦剧嗨专线\",\"pu\":\"\",\"sn\":0,\"or\":999},\"dbm3u8\":{\"sh\":\"北美高清①\",\"pu\":\"\",\"sn\":0,\"or\":999},\"dbyun\":{\"sh\":\"北美高清②\",\"pu\":\"\",\"sn\":0,\"or\":999},\"kbm3u8\":{\"sh\":\"全球线路①\",\"pu\":\"\",\"sn\":0,\"or\":999},\"hnyun\":{\"sh\":\"全球线路②\",\"pu\":\"\",\"sn\":0,\"or\":999},\"hnm3u8\":{\"sh\":\"全球线路③\",\"pu\":\"\",\"sn\":0,\"or\":999},\"youku\":{\"sh\":\"优酷直连\",\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"sn\":1,\"or\":999},\"if101\":{\"sh\":\"✦蓝光超清\",\"pu\":\"\",\"sn\":0,\"or\":999},\"wjm3u8\":{\"sh\":\"北美高清③\",\"pu\":\"\",\"sn\":0,\"or\":999},\"kbzy\":{\"sh\":\"全球线路④\",\"pu\":\"\",\"sn\":0,\"or\":999},\"qq\":{\"sh\":\"腾讯直连\",\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"sn\":1,\"or\":999},\"fanqie\":{\"sh\":\"全球线路⑤\",\"pu\":\"\",\"sn\":0,\"or\":999},\"qiyi\":{\"sh\":\"爱奇艺直连\",\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"sn\":1,\"or\":999},\"sohu\":{\"sh\":\"搜狐直连\",\"pu\":\"https://titan.mgtv.com.jumi.tv/player/?url=\",\"sn\":1,\"or\":999},\"mgtv\":{\"sh\":\"芒果直连\",\"pu\":\"https://jx.ysgc.xyz/?url=\",\"sn\":1,\"or\":999},\"letv\":{\"sh\":\"乐视直连\",\"pu\":\"https://jx.ysgc.xyz/?url=\",\"sn\":1,\"or\":999},\"pptv\":{\"sh\":\"PPTV直连\",\"pu\":\"https://jx.ysgc.xyz/?url=\",\"sn\":1,\"or\":999}}");
playerConfig = new JSONObject("{\"tkm3u8\":{\"sh\":\"✦剧嗨专线\",\"pu\":\"https://jx.huishij.com/yun/?url=\",\"sn\":1,\"or\":999},\"if101\":{\"sh\":\"✦蓝光超清\",\"pu\":\"\",\"sn\":0,\"or\":999},\"dbm3u8\":{\"sh\":\"北美高清①\",\"pu\":\"\",\"sn\":0,\"or\":999},\"dbyun\":{\"sh\":\"北美高清②\",\"pu\":\"\",\"sn\":0,\"or\":999},\"wjm3u8\":{\"sh\":\"北美高清③\",\"pu\":\"\",\"sn\":0,\"or\":999},\"kbm3u8\":{\"sh\":\"全球线路①\",\"pu\":\"\",\"sn\":0,\"or\":999},\"hnyun\":{\"sh\":\"全球线路②\",\"pu\":\"\",\"sn\":0,\"or\":999},\"hnm3u8\":{\"sh\":\"全球线路③\",\"pu\":\"\",\"sn\":0,\"or\":999},\"kbzy\":{\"sh\":\"全球线路④\",\"pu\":\"\",\"sn\":0,\"or\":999},\"fanqie\":{\"sh\":\"全球线路⑤\",\"pu\":\"\",\"sn\":0,\"or\":999},\"kuaiyun\":{\"sh\":\"快速线路\",\"pu\":\"https://qimihe.com/?url=\",\"sn\":1,\"or\":999},\"leyum3u8\":{\"sh\":\"午夜专线1\",\"pu\":\"\",\"sn\":0,\"or\":999},\"lym3u8\":{\"sh\":\"午夜专线2\",\"pu\":\"\",\"sn\":0,\"or\":999},\"dplayer\":{\"sh\":\"DPlayer-H5播放器\",\"pu\":\"\",\"sn\":0,\"or\":999},\"videojs\":{\"sh\":\"videojs-H5播放器\",\"pu\":\"\",\"sn\":0,\"or\":999},\"iva\":{\"sh\":\"iva-H5播放器\",\"pu\":\"\",\"sn\":0,\"or\":999},\"iframe\":{\"sh\":\"iframe外链数据\",\"pu\":\"\",\"sn\":0,\"or\":999},\"link\":{\"sh\":\"外链数据\",\"pu\":\"\",\"sn\":0,\"or\":999},\"swf\":{\"sh\":\"Flash文件\",\"pu\":\"\",\"sn\":0,\"or\":999},\"flv\":{\"sh\":\"Flv文件\",\"pu\":\"\",\"sn\":0,\"or\":999},\"bjyun\":{\"sh\":\"bjyun\",\"pu\":\"\",\"sn\":0,\"or\":999},\"bjm3u8\":{\"sh\":\"bjm3u8\",\"pu\":\"\",\"sn\":0,\"or\":999},\"wasu\":{\"sh\":\"华数直连\",\"pu\":\"\",\"sn\":0,\"or\":999},\"funshion\":{\"sh\":\"风行直连\",\"pu\":\"\",\"sn\":0,\"or\":999},\"pptv\":{\"sh\":\"PPTV直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999},\"letv\":{\"sh\":\"乐视直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999},\"mgtv\":{\"sh\":\"芒果直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999},\"youku\":{\"sh\":\"优酷直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999},\"qiyi\":{\"sh\":\"爱奇艺直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999},\"qq\":{\"sh\":\"腾讯直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999},\"m1905\":{\"sh\":\"M1905直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999},\"sohu\":{\"sh\":\"搜狐直连\",\"pu\":\"https://jx.m3u8.tv/jiexi/?url=\",\"sn\":1,\"or\":999}}");
filterConfig = new JSONObject("{\"20\":[{\"key\":\"0\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"20\"},{\"n\":\"动作片\",\"v\":\"24\"},{\"n\":\"喜剧片\",\"v\":\"25\"},{\"n\":\"愛情片\",\"v\":\"26\"},{\"n\":\"科幻片\",\"v\":\"27\"},{\"n\":\"恐怖片\",\"v\":\"28\"},{\"n\":\"劇情片\",\"v\":\"11\"},{\"n\":\"戰爭片\",\"v\":\"30\"},{\"n\":\"动画电影\",\"v\":\"33\"}]},{\"key\":1,\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"大陆\",\"v\":\"大陆\"},{\"n\":\"香港\",\"v\":\"香港\"},{\"n\":\"台湾\",\"v\":\"台湾\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"法国\",\"v\":\"法国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"德国\",\"v\":\"德国\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"意大利\",\"v\":\"意大利\"},{\"n\":\"西班牙\",\"v\":\"西班牙\"},{\"n\":\"加拿大\",\"v\":\"加拿大\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":11,\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"}]},{\"key\":2,\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"21\":[{\"key\":\"tid\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"国产剧\",\"v\":\"34\"},{\"n\":\"港剧\",\"v\":\"35\"},{\"n\":\"韩剧\",\"v\":\"37\"},{\"n\":\"欧美剧\",\"v\":\"36\"},{\"n\":\"日本剧\",\"v\":\"38\"},{\"n\":\"台湾剧\",\"v\":\"39\"},{\"n\":\"海外剧\",\"v\":\"40\"}]},{\"key\":11,\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":2,\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"22\":[{\"key\":0,\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"22\"},{\"n\":\"大陆综艺\",\"v\":\"41\"},{\"n\":\"港台综艺\",\"v\":\"42\"},{\"n\":\"日韩综艺\",\"v\":\"43\"},{\"n\":\"欧美综艺\",\"v\":\"44\"}]},{\"key\":11,\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":2,\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"23\":[{\"key\":0,\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"23\"},{\"n\":\"国产动漫\",\"v\":\"45\"},{\"n\":\"日本动漫\",\"v\":\"46\"},{\"n\":\"欧美动漫\",\"v\":\"47\"}]},{\"key\":11,\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"}]},{\"key\":2,\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}]}");
} catch (JSONException e) {
SpiderDebug.log(e);
@ -396,11 +398,11 @@ public class Juhi extends Spider {
//定义播放用的headers
JSONObject headers = new JSONObject();
//headers.put("Host", " cokemv.co");
headers.put("origin", " https://juhi.cc");
headers.put("User-Agent", " Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36");
headers.put("Accept", " */*");
headers.put("Accept-Language", " zh-CN,zh;q=0.9,en-US;q=0.3,en;q=0.7");
headers.put("Accept-Encoding", " gzip, deflate");
//headers.put("origin", " https://juhi.cc");
//headers.put("User-Agent", " Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36");
//headers.put("Accept", " */*");
//headers.put("Accept-Language", " zh-CN,zh;q=0.9,en-US;q=0.3,en;q=0.7");
//headers.put("Accept-Encoding", " gzip, deflate, br");
// 播放页 url
@ -421,6 +423,16 @@ public class Juhi extends Spider {
JSONObject pCfg = playerConfig.getJSONObject(player.getString("from"));
String videoUrl = player.getString("url");
String playUrl = pCfg.getString("pu");
if (Misc.isVip(videoUrl)) { // 使用jx:1
try {
result.put("parse", 1);
result.put("jx", "1");
result.put("url", videoUrl);
return result.toString();
} catch (Exception e) {
SpiderDebug.log(e);
}
}
result.put("parse", pCfg.getInt("sn"));
result.put("playUrl", playUrl);
result.put("url", videoUrl);
@ -436,6 +448,9 @@ public class Juhi extends Spider {
return "";
}
@Override
public String searchContent(String key, boolean quick) {
try {

File diff suppressed because one or more lines are too long

View File

@ -87,15 +87,6 @@
"quickSearch": 0,
"filterable": 1
},
{
"key": "csp_Djx",
"name": "瓜皮TV(爬虫)",
"type": 3,
"api": "csp_Djx",
"searchable": 1,
"quickSearch": 0,
"filterable": 1
},
{
"key": "csp_Imaple",
"name": "枫林网(爬虫)",

Binary file not shown.

View File

@ -1 +1 @@
69c61d08658818f6e384aec6f310d252
6846e6fa14769d3a081e0c38fc844a54

227
xpath/Aixixi.json Normal file
View File

@ -0,0 +1,227 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://aixixi.vip/",
"cateNode": "//ul[contains(@class,'mo-navs-boxs')]/li/a[contains(@href, 'vod')]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/index.php/vod/show/id/(\\w+).html",
"cateManual": {},
"homeVodNode": "//ul[@class='mo-cols-rows']/li",
"homeVodName": "/a[2]/text()",
"homeVodId": "/a/@href",
"homeVodIdR": "/index.php/vod/detail/id/(\\w+).html",
"homeVodImg": "/a/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "//span[contains(@class,'mo-situ-rema')]/text()",
"cateUrl": "https://aixixi.vip/index.php/vod/show/area/{area}/by/{by}/year/{year}/id/{cateId}/page/{catePg}.html",
"cateVodNode": "//ul[@class='mo-cols-rows']/li",
"cateVodName": "/a[2]/text()",
"cateVodId": "/a/@href",
"cateVodIdR": "/index.php/vod/detail/id/(\\w+).html",
"cateVodImg": "/a/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "//span[contains(@class,'mo-situ-rema')]/text()",
"dtUrl": "https://aixixi.vip/index.php/vod/detail/id/{vid}.html",
"dtNode": "//dl[contains(@class,'mo-deta-info')]",
"dtName": "/dd/h1/a/text()",
"dtNameR": "",
"dtImg": "/dt/a/@data-original",
"dtImgR": "",
"dtCate": "//ul[contains(@class,'mo-cols-rows')]/li/span[contains(text(), '分类')]/following-sibling::a/text()",
"dtYear": "//ul[contains(@class,'mo-cols-rows')]/li/span[contains(text(), '年份')]/following-sibling::a/text()",
"dtArea": "//ul[contains(@class,'mo-cols-rows')]/li/span[contains(text(), '地区')]/following-sibling::a/text()",
"dtMark": "",
"dtDirector": "//ul[contains(@class,'mo-cols-rows')]/li/span[contains(text(), '导演')]/parent::*/a/text()",
"dtActor": "//ul[contains(@class,'mo-cols-rows')]/li/span[contains(text(), '主演')]/parent::*/a/text()",
"dtDesc": "//ul[contains(@class,'mo-cols-rows')]/li[contains(text(),'短评')]/text()",
"dtFromNode": "//div[contains(@class,'mo-sort-head')]/h2/a",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//ul[contains(@class,'mo-movs-item')]",
"dtUrlSubNode": "/li/a",
"dtUrlId": "/@href",
"dtUrlIdR": "/index.php/vod/play/id/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://aixixi.vip/index.php/vod/play/id/{playUrl}.html",
"playUa": "",
"searchUrl": "https://aixixi.vip/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": "",
"filter": {
"1": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"},
{"n": "德国","v": "德国"},
{"n": "泰国","v": "泰国"},
{"n": "印度","v": "印度"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"2": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "内地","v": "内地"},
{"n": "韩国","v": "韩国"},
{"n": "香港","v": "香港"},
{"n": "日本","v": "日本"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "泰国","v": "泰国"},
{"n": "英国","v": "英国"},
{"n": "新加坡","v": "新加坡"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"4": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "国产","v": "国产"},
{"n": "日本","v": "日本"},
{"n": "欧美","v": "欧美"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"3": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "内地","v": "内地"},
{"n": "港台","v": "港台"},
{"n": "日韩","v": "日韩"},
{"n": "欧美","v": "欧美"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
]
}
}

337
xpath/Djx.json Normal file
View File

@ -0,0 +1,337 @@
{
"ua": "",
"homeUrl": "https://www.dijiaxia.com/",
"cateNode": "//ul[contains(@class,'nav-menu')]/li/a[contains(@href, 'vod')]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/index.php/vod/type/id/(\\w+).html",
"cateManual": {},
"homeVodNode": "//ul[contains(@class,'myui-vodlist')]/li/div/a",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/voddetail/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "//span[contains(@class,'pic-text')]/text()",
"cateUrl": "https://www.dijiaxia.com/index.php/vod/show/area/{area}/id/{cateId}/by/{by}/year/{year}/page/{catePg}.html",
"cateVodNode": "//ul[contains(@class,'myui-vodlist')]/li/div/a",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/index.php/vod/detail/id/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "//span[contains(@class,'pic-text')]/text()",
"dtUrl": "https://www.dijiaxia.com/index.php/vod/detail/id/{vid}.html",
"dtNode": "//body",
"dtName": "//div[contains(@class,'myui-content__thumb')]/a/@title",
"dtNameR": "",
"dtImg": "//div[contains(@class,'myui-content__thumb')]/a/img/@data-original",
"dtImgR": "",
"dtCate": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '分类')]/following-sibling::a/text()",
"dtYear": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '年份')]/following-sibling::a/text()",
"dtArea": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '地区')]/following-sibling::a/text()",
"dtMark": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '更新')]/following-sibling::a/text()",
"dtDirector": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '导演')]/following-sibling::a/text()",
"dtActor": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '主演')]/following-sibling::a/text()",
"dtDesc": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '简介')]/parent::*/text()[2]",
"dtFromNode": "//ul[contains(@class,'nav-tabs')]/li/a",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//ul[contains(@class,'myui-content__list')]",
"dtUrlSubNode": "/li/a",
"dtUrlId": "/@href",
"dtUrlIdR": "/index.php/vod/play/id/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://www.dijiaxia.com/index.php/vod/play/id/{playUrl}.html",
"playUa": "",
"searchUrl": "https://www.dijiaxia.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": "",
"filter": {
"1": [
{
"key": "cateId",
"name": "類型",
"value": [
{"n": "全部","v": ""},
{"n": "4K专区","v": "43"},
{"n": "动作片","v": "6"},
{"n": "喜剧片","v": "7"},
{"n": "爱情片","v": "8"},
{"n": "科幻片","v": "9"},
{"n": "恐怖片","v": "10"},
{"n": "剧情片","v": "11"},
{"n": "战争片","v": "12"},
{"n": "犯罪片","v": "24"},
{"n": "战争片","v": "25"},
{"n": "悬疑片","v": "26"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"2": [
{
"key": "cateId",
"name": "類型",
"value": [
{"n": "全部","v": ""},
{"n": "国产剧","v": "13"},
{"n": "高评分独家资源","v": "42"},
{"n": "港台剧","v": "14"},
{"n": "日韩剧","v": "15"},
{"n": "欧美剧","v": "16"},
{"n": "泰国剧","v": "31"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "内地","v": "内地"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"3": [
{
"key": "cateId",
"name": "類型",
"value": [
{"n": "全部","v": ""},
{"n": "国内综艺","v": "33"},
{"n": "国外综艺","v": "34"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "内地","v": "内地"},
{"n": "港台","v": "港台"},
{"n": "日韩","v": "日韩"},
{"n": "欧美","v": "欧美"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"4": [
{
"key": "cateId",
"name": "類型",
"value": [
{"n": "全部","v": ""},
{"n": "国产动漫","v": "35"},
{"n": "日韩动漫","v": "38"},
{"n": "欧美动漫","v": "37"},
{"n": "其他动漫","v": "39"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "国产","v": "国产"},
{"n": "日本","v": "日本"},
{"n": "欧美","v": "欧美"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"20": [
{
"key": "cateId",
"name": "類型",
"value": [
{"n": "全部","v": ""},
{"n": "国漫","v": "22"},
{"n": "番剧","v": "23"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"44": [
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
]
}
}

177
xpath/Duboku.json Normal file
View File

@ -0,0 +1,177 @@
{
"ua": "",
"homeUrl": "https://www.duboku.tv/",
"dcVipFlag": "true",
"dcPlayUrl": "true",
"cateNode": "//ul[contains(@class,'nav-menu')]/li/a[contains(@href, 'vodtype')and not(contains(@href,'20'))]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/vodtype/(\\w+).html",
"cateManual": {},
"homeVodNode": "//ul[contains(@class,'myui-vodlist')]/li/div/a",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/voddetail/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "//span[contains(@class,'pic-text')]/text()",
"cateUrl": "https://www.duboku.tv/vodshow/{cateId}-{area}-{by}------{catePg}---{year}.html",
"cateVodNode": "//ul[contains(@class,'myui-vodlist')]/li/div/a",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/voddetail/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "//span[contains(@class,'pic-text')]/text()",
"dtUrl": "https://my.duboku.vip/voddetail/{vid}.html",
"dtNode": "//body",
"dtName": "//div[contains(@class,'myui-content__thumb')]/a/@title",
"dtNameR": "",
"dtImg": "//div[contains(@class,'myui-content__thumb')]/a/img/@data-original",
"dtImgR": "",
"dtCate": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '分类')]/following-sibling::a/text()",
"dtYear": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '年份')]/following-sibling::a/text()",
"dtArea": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '地区')]/following-sibling::a/text()",
"dtMark": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '更新')]/following-sibling::a/text()",
"dtDirector": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '导演')]/following-sibling::a/text()",
"dtActor": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '主演')]/following-sibling::a/text()",
"dtDesc": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '简介')]/following-sibling::a/text()",
"dtFromNode": "//ul[contains(@class,'nav-tabs')]/li/a",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//ul[contains(@class,'myui-content__list')]",
"dtUrlSubNode": "/li/a",
"dtUrlId": "/@href",
"dtUrlIdR": "/vodplay/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://my.duboku.vip/vodplay/{playUrl}.html",
"playUa": "",
"searchUrl": "https://my.duboku.vip/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": "",
"filter": {
"2": [
{
"key": "cateId",
"name": "類型",
"value": [
{"n": "全部","v": ""},
{"n": "陸劇","v": "13"},
{"n": "日韓劇","v": "15"},
{"n": "英美剧","v": "16"},
{"n": "台泰剧","v": "14"},
{"n": "港剧","v": "20"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "美国","v": "美国"},
{"n": "英国","v": "英国"},
{"n": "内地","v": "内地"},
{"n": "泰国","v": "泰国"},
{"n": "韩国","v": "韩国"},
{"n": "香港","v": "香港"},
{"n": "日本","v": "日本"},
{"n": "台湾","v": "台湾"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "按更新","v": "time"},
{"n": "周人气","v": "hits_week"},
{"n": "月人气","v": "hits_month"}
]
}
],
"3": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "内地","v": "内地"},
{"n": "港台","v": "港台"},
{"n": "日韩","v": "日韩"},
{"n": "欧美","v": "欧美"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "按更新","v": "time"},
{"n": "周人气","v": "hits_week"},
{"n": "月人气","v": "hits_month"}
]
}
],
"4": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "国产","v": "国产"},
{"n": "日本","v": "日本"},
{"n": "欧美","v": "欧美"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "按更新","v": "time"},
{"n": "周人气","v": "hits_week"},
{"n": "月人气","v": "hits_month"}
]
}
]
}
}

264
xpath/Gimy.json Normal file
View File

@ -0,0 +1,264 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://gimytv.com/",
"dcVipFlag": "true",
"pCfgJs": "https://gimytv.com/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[@class='myui-header__menu']/li/a[contains(@href, 'browse')]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/browse/(\\w+).html",
"cateManual": {
"电影": "movies",
"电视剧": "tvseries",
"综艺": "tv_show",
"动漫": "anime"
},
"homeVodNode": "//ul[@class='myui-vodlist clearfix']/li/div/a",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodMark": "/span[contains(@class, 'pic-text')]/text()",
"cateUrl": "https://gimytv.com/genre/{cateId}-{area}-{year}-{catePg}/by/{by}.html",
"cateVodNode": "//ul[@class='myui-vodlist clearfix']/li/div/a",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodMark": "/span[contains(@class, 'pic-text')]/text()",
"dtUrl": "https://gimytv.com/{vid}.html",
"dtNode": "//div[@class='container']",
"dtName": "//div[@class='myui-content__thumb']/a/@title",
"dtNameR": "",
"dtImg": "//div[@class='myui-content__thumb']/a/img/@data-original",
"dtImgR": "\\S+(http\\S+)",
"dtCate": "//p[@class='data']/span[contains(text(), '分類')]/following-sibling::*/text()",
"dtCateR": "",
"dtYear": "//p[@class='data']/span[contains(text(), '年份')]/following-sibling::*/text()",
"dtYearR": "",
"dtArea": "",
"dtAreaR": "",
"dtMark": "//p[@class='data']/span[contains(text(), '更新')]/following-sibling::*/text()",
"dtMarkR": "",
"dtActor": "//p[@class='data']/span[contains(text(), '主演')]/following-sibling::*/text()",
"dtActorR": "",
"dtDirector": "//p[@class='data']/span[contains(text(), '導演')]/following-sibling::*/text()",
"dtDirectorR": "",
"dtDesc": "//div[contains(@class,'col-pd')]/p/text()",
"dtDescR": "",
"dtFromNode": "//div[@class='myui-panel_hd']/div/h3[contains(text(),'線路')]",
"dtFromName": "/text()",
"dtUrlNode": "//ul[contains(@class,'myui-content__list')]",
"dtUrlSubNode": "/li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://gimytv.com/{playUrl}.html",
"playUa": "",
"searchUrl": "https://gimytv.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": "",
"filter": {
"movies": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "劇情片","v": "drama"},
{"n": "動作片","v": "action"},
{"n": "科幻片","v": "scifi"},
{"n": "喜劇片","v": "comedymovie"},
{"n": "愛情片","v": "romance"},
{"n": "戰爭片","v": "war"},
{"n": "恐怖片","v": "horror"},
{"n": "動畫電影","v": "animation"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "美國","v": "美國"},
{"n": "歐美","v": "歐美"},
{"n": "大陸","v": "大陸"},
{"n": "中國大陸","v": "中國大陸"},
{"n": "韓國","v": "韓國"},
{"n": "香港","v": "香港"},
{"n": "日本","v": "日本"},
{"n": "英國","v": "英國"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "按更新","v": "time"},
{"n": "周人气","v": "hits_week"},
{"n": "月人气","v": "hits_month"}
]
}
],
"tvseries": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "陸劇","v": "cn"},
{"n": "韓劇","v": "kr"},
{"n": "美劇","v": "us"},
{"n": "日劇","v": "jp"},
{"n": "台劇","v": "tw"},
{"n": "港劇","v": "hks"},
{"n": "海外劇","v": "ot"},
{"n": "紀錄片","v": "documentary"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "按更新","v": "time"},
{"n": "周人气","v": "hits_week"},
{"n": "月人气","v": "hits_month"}
]
}
],
"anime": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "日本","v": "日本"},
{"n": "美國","v": "美國"},
{"n": "歐美","v": "歐美"},
{"n": "大陸","v": "大陸"},
{"n": "臺灣","v": "臺灣"},
{"n": "香港","v": "香港"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "按更新","v": "time"},
{"n": "周人气","v": "hits_week"},
{"n": "月人气","v": "hits_month"}
]
}
],
"tv_show": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "纪录片","v": "28"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陸","v": "大陸"},
{"n": "中國大陸","v": "中國大陸"},
{"n": "韓國","v": "韓國"},
{"n": "臺灣","v": "臺灣"},
{"n": "美國","v": "美國"},
{"n": "歐美","v": "歐美"},
{"n": "日本","v": "日本"},
{"n": "香港","v": "香港"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "按更新","v": "time"},
{"n": "周人气","v": "hits_week"},
{"n": "月人气","v": "hits_month"}
]
}
]
}
}

255
xpath/Jumi.json Normal file
View File

@ -0,0 +1,255 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://jumi.tv",
"dcVipFlag": "true",
"pCfgJs": "https://jumi.tv/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[contains(@class,'myui-header__menu')]/li/a[contains(@href, 'type') and not(contains(@href, 'label'))]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/type/(\\w+).html",
"cateManual": {},
"homeVodNode": "//div[contains(@class, 'col-lg-wide-75')]//ul[contains(@class,'myui-vodlist')]/li//a[contains(@class,'myui-vodlist__thumb')]",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/vod/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "/span[contains(@class,'pic-text')]/text()",
"cateUrl": "https://jumi.tv/show/{cateId}/area/{area}/by/{by}/page/{catePg}/year/{year}.html",
"cateVodNode": "//ul[contains(@class,'myui-vodlist')]//li//a[contains(@class,'myui-vodlist__thumb')]",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/vod/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "/span[contains(@class,'pic-text')]/text()",
"dtUrl": "https://jumi.tv/vod/{vid}.html",
"dtNode": "//div[contains(@class,'col-lg-wide-75')]",
"dtName": "//div[@class='myui-content__thumb']/a[contains(@class,'myui-vodlist__thumb')]/@title",
"dtNameR": "",
"dtImg": "//div[@class='myui-content__thumb']/a[contains(@class,'myui-vodlist__thumb')]/img/@data-original",
"dtImgR": "\\S+(http\\S+)",
"dtCate": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '分類')]/following-sibling::*/text()",
"dtCateR": "",
"dtYear": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '年份')]/following-sibling::*/text()",
"dtYearR": "",
"dtArea": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '地區')]/following-sibling::*/text()",
"dtAreaR": "",
"dtMark": "",
"dtMarkR": "",
"dtActor": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '主演')]/following-sibling::*/text()",
"dtActorR": "",
"dtDirector": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '導演')]/following-sibling::*/text()",
"dtDirectorR": "",
"dtDesc": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '簡介')]/parent::text()",
"dtDescR": "",
"dtFromNode": "//a[@data-toggle='tab' and contains(@href, 'playlist')]",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//div[contains(@class,'tab-content')]/div[contains(@id, 'playlist')]",
"dtUrlSubNode": "//li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/play/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://jumi.tv/play/{playUrl}.html",
"playUa": "",
"searchUrl": "https://jumi.tv/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": "",
"filter": {
"1": [
{
"key": "cateId",
"name": "類型",
"value": [
{"n": "全部","v": ""},
{"n": "動作片","v": "6"},
{"n": "喜劇片","v": "7"},
{"n": "愛情片","v": "8"},
{"n": "科幻片","v": "9"},
{"n": "恐怖片","v": "10"},
{"n": "劇情片","v": "11"},
{"n": "戰爭片","v": "12"},
{"n": "紀錄片","v": "20"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陸","v": "大陸"},
{"n": "香港","v": "香港"},
{"n": "台灣","v": "台灣"},
{"n": "美國","v": "美國"},
{"n": "法國","v": "法國"},
{"n": "英國","v": "英國"},
{"n": "日本","v": "日本"},
{"n": "韓國","v": "韓國"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"2": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "陸劇","v": "13"},
{"n": "韓劇","v": "23"},
{"n": "美劇","v": "16"},
{"n": "日劇","v": "15"},
{"n": "台劇","v": "22"},
{"n": "港劇","v": "14"},
{"n": "海外劇","v": "24"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"4": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陸","v": "大陸"},
{"n": "香港","v": "香港"},
{"n": "台灣","v": "台灣"},
{"n": "美國","v": "美國"},
{"n": "法國","v": "法國"},
{"n": "英國","v": "英國"},
{"n": "日本","v": "日本"},
{"n": "韓國","v": "韓國"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
],
"3": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陸","v": "大陸"},
{"n": "香港","v": "香港"},
{"n": "台灣","v": "台灣"},
{"n": "美國","v": "美國"},
{"n": "法國","v": "法國"},
{"n": "英國","v": "英國"},
{"n": "日本","v": "日本"},
{"n": "韓國","v": "韓國"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "時間","v": "time"},
{"n": "人氣","v": "hits"},
{"n": "評分","v": "score"}
]
}
]
}
}

285
xpath/Nfuxs.json Normal file
View File

@ -0,0 +1,285 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://www.nfuxs.com/",
"cateNode": "//ul[contains(@class,'nav-menu')]/li/a[contains(@href, 'vodtype')]",
"cateName": "/span/text()",
"cateId": "/@href",
"cateIdR": "/vodtype/(\\w+).html",
"cateManual": {},
"homeVodNode": "//div[@class='module-item']",
"homeVodName": "//div[@class='module-item-pic']/a/@title",
"homeVodId": "//div[@class='module-item-pic']/a/@href",
"homeVodIdR": "/voddetail/(\\w+).html",
"homeVodImg": "//div[@class='module-item-pic']/img/@data-src",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "//div[@class='module-item-caption']/span[1]/text()",
"cateUrl": "https://www.nfuxs.com/vodshow/{cateId}-{area}-{by}------{catePg}---{year}.html",
"cateVodNode": "//div[@class='module-item']",
"cateVodName": "//div[@class='module-item-pic']/a/@title",
"cateVodId": "//div[@class='module-item-pic']/a/@href",
"cateVodIdR": "/voddetail/(\\w+).html",
"cateVodImg": "//div[@class='module-item-pic']/img/@data-src",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "//div[@class='module-item-caption']/span[1]/text()",
"dtUrl": "https://www.nfuxs.com/voddetail/{vid}.html",
"dtNode": "//body",
"dtName": "//div[@class='video-info-header']/h1/text()",
"dtNameR": "",
"dtImg": "//div[@class='video-cover']/div/div/img/@data-src",
"dtImgR": "",
"dtCate": "//div[@class='tag-link']/span/following-sibling::a/text()",
"dtYear": "//div[contains(@class,'video-info-aux')]/a[2]/text()",
"dtArea": "//div[contains(@class,'video-info-aux')]/a[3]/text()",
"dtMark": "",
"dtDirector": "//span[contains(text(), '导演')]/parent::*/div/span/following-sibling::*/text()",
"dtActor": "//span[contains(text(), '主演')]/parent::*/div/span/following-sibling::*/text()",
"dtDesc": "//span[contains(text(), '剧情')]/parent::*/div/span/text()",
"dtFromNode": "//div[@class='module-tab-content']/div/span",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//div[@class='scroll-content']",
"dtUrlSubNode": "/a",
"dtUrlId": "/@href",
"dtUrlIdR": "/vodplay/(\\S+).html",
"dtUrlName": "/span/text()",
"dtUrlNameR": "",
"playUrl": "https://www.nfuxs.com/vodplay/{playUrl}.html",
"playUa": "",
"searchUrl": "https://www.nfuxs.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": "",
"filter": {
"1": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"},
{"n": "泰国","v": "泰国"},
{"n": "印度","v": "印度"},
{"n": "意大利","v": "意大利"},
{"n": "西班牙","v": "西班牙"},
{"n": "加拿大","v": "加拿大"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"},
{"n": "2011","v": "2011"},
{"n": "2010","v": "2010"},
{"n": "2009","v": "2009"},
{"n": "2008","v": "2008"},
{"n": "2007","v": "2007"},
{"n": "2006","v": "2006"},
{"n": "2005","v": "2005"},
{"n": "2004","v": "2004"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "更新","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"2": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"},
{"n": "泰国","v": "泰国"},
{"n": "印度","v": "印度"},
{"n": "意大利","v": "意大利"},
{"n": "西班牙","v": "西班牙"},
{"n": "加拿大","v": "加拿大"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"},
{"n": "2011","v": "2011"},
{"n": "2010","v": "2010"},
{"n": "2009","v": "2009"},
{"n": "2008","v": "2008"},
{"n": "2007","v": "2007"},
{"n": "2006","v": "2006"},
{"n": "2005","v": "2005"},
{"n": "2004","v": "2004"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "更新","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"3": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"},
{"n": "泰国","v": "泰国"},
{"n": "印度","v": "印度"},
{"n": "意大利","v": "意大利"},
{"n": "西班牙","v": "西班牙"},
{"n": "加拿大","v": "加拿大"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"},
{"n": "2011","v": "2011"},
{"n": "2010","v": "2010"},
{"n": "2009","v": "2009"},
{"n": "2008","v": "2008"},
{"n": "2007","v": "2007"},
{"n": "2006","v": "2006"},
{"n": "2005","v": "2005"},
{"n": "2004","v": "2004"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "更新","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"1": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"},
{"n": "泰国","v": "泰国"},
{"n": "印度","v": "印度"},
{"n": "意大利","v": "意大利"},
{"n": "西班牙","v": "西班牙"},
{"n": "加拿大","v": "加拿大"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"},
{"n": "2011","v": "2011"},
{"n": "2010","v": "2010"},
{"n": "2009","v": "2009"},
{"n": "2008","v": "2008"},
{"n": "2007","v": "2007"},
{"n": "2006","v": "2006"},
{"n": "2005","v": "2005"},
{"n": "2004","v": "2004"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "更新","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
]
}
}

279
xpath/Renjie.json Normal file
View File

@ -0,0 +1,279 @@
{
"ua": "",
"homeUrl": "https://www.tangrenjie.tv",
"dcVipFlag": "true",
"pCfgJs": "https://www.tangrenjie.tv/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[contains(@class, 'top_nav')]/li/a[contains(@href, 'type') and not(contains(@href,'5'))]",
"cateName": "/b/text()",
"cateId": "/@href",
"cateIdR": "/vod/type/id/(\\w+).html",
"cateManual": {},
"homeVodNode": "//div[@class='cbox1']/ul[contains(@class, 'vodlist')]/li/a",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/vod/detail/id/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "/span[contains(@class,'pic_text')]//b/text()",
"cateUrl": "https://www.tangrenjie.tv/vod/show/area/{area}/by/{by}/id/{cateId}/page/{catePg}/year/{year}.html",
"cateVodNode": "//ul[contains(@class, 'vodlist')]/li/a",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/vod/detail/id/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "/span[contains(@class,'pic_text')]//b/text()",
"dtUrl": "https://www.tangrenjie.tv/vod/detail/id/{vid}.html",
"dtNode": "//body",
"dtName": "//div[contains(@class,'content_thum')]/a/@title",
"dtNameR": "",
"dtImg": "//div[contains(@class,'content_thum')]/a/@data-original",
"dtImgR": "\\S+(http\\S+)",
"dtCate": "//li[@class='data']/span[contains(text(), '类型')]/following-sibling::*/text()",
"dtCateR": "",
"dtYear": "//li[@class='data']/span[contains(text(), '年份')]/following-sibling::*/text()",
"dtYearR": "",
"dtArea": "//li[@class='data']/span[contains(text(), '地区')]/following-sibling::*/text()",
"dtAreaR": "",
"dtMark": "//li[@class='data']/span[contains(text(), '更新时间')]/following-sibling::*/text()",
"dtMarkR": "",
"dtActor": "//li[@class='data']/span[contains(text(), '主演')]/following-sibling::*/text()",
"dtActorR": "",
"dtDirector": "//li[@class='data']/span[contains(text(), '导演')]/following-sibling::*/text()",
"dtDirectorR": "",
"dtDesc": "//span[contains(text(), '简介')]/parent::*/text()[2]",
"dtDescR": "",
"dtFromNode": "//div[contains(@class,'play_source_tab')]/a/b",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//div[@class='playlist_full']",
"dtUrlSubNode": "/ul/li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/vod/play/id/(\\S+).html",
"dtUrlName": "/b/text()",
"dtUrlNameR": "",
"playUrl": "https://www.tangrenjie.tv/vod/play/id/{playUrl}.html",
"playUa": "",
"searchUrl": "https://www.tangrenjie.tv/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": "",
"filter": {
"1": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "动作片","v": "6"},
{"n": "喜剧片","v": "7"},
{"n": "爱情片","v": "8"},
{"n": "科幻片","v": "9"},
{"n": "恐怖片","v": "10"},
{"n": "剧情片","v": "11"},
{"n": "战争片","v": "12"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"},
{"n": "德国","v": "德国"},
{"n": "泰国","v": "泰国"},
{"n": "印度","v": "印度"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"2": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "国产剧","v": "13"},
{"n": "港台剧","v": "14"},
{"n": "日韩剧","v": "15"},
{"n": "欧美剧","v": "16"},
{"n": "海外剧","v": "27"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "日本","v": "日本"},
{"n": "欧美","v": "欧美"},
{"n": "韩国","v": "韩国"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"4": [
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "日本","v": "日本"},
{"n": "欧美","v": "欧美"},
{"n": "韩国","v": "韩国"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
],
"3": [
{
"key": "cateId",
"name": "分类",
"value": [
{"n": "全部","v": ""},
{"n": "纪录片","v": "28"}
]
},
{
"key": "area",
"name": "地区",
"value": [
{"n": "全部","v": ""},
{"n": "大陆","v": "大陆"},
{"n": "香港","v": "香港"},
{"n": "台湾","v": "台湾"},
{"n": "美国","v": "美国"},
{"n": "法国","v": "法国"},
{"n": "英国","v": "英国"},
{"n": "日本","v": "日本"},
{"n": "韩国","v": "韩国"},
{"n": "德国","v": "德国"},
{"n": "泰国","v": "泰国"},
{"n": "印度","v": "印度"},
{"n": "其他","v": "其他"}
]
},
{
"key": "year",
"name": "年份",
"value": [
{"n": "全部","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2008","v": "2008"},
{"n": "2000","v": "2000"},
{"n": "1997","v": "1997"},
{"n": "1980","v": "1980"}
]
},
{
"key": "by",
"name": "排序",
"value": [
{"n": "时间","v": "time"},
{"n": "人气","v": "hits"},
{"n": "评分","v": "score"}
]
}
]
}
}

254
xpath/Sky4k.json Normal file
View File

@ -0,0 +1,254 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://movie.sky4k.ga",
"dcVipFlag": "true",
"pCfgJs": "https://movie.sky4k.ga/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[@class='vi-nav swiper-wrapper clearfix']/li/a[contains(@href, '.html') and not(contains(@href, 'topic'))]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/vodshow/(\\d+)-----------.html",
"cateManual": {},
"homeVodNode": "//ul[@class='dx-list dx-left']/li[@class='dx-vod']",
"homeVodName": "/a/@title",
"homeVodId": "/a/@href",
"homeVodIdR": "/voddetail/(\\w+).html",
"homeVodImg": "/a/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "/span[contains(@class,'vod_remarks')]/text()",
"cateUrl": "https://movie.sky4k.ga/vodshow/{cateId}-{area}-{by}------{catePg}---{year}.html",
"cateVodNode": "//li[@class='dx-vod']",
"cateVodName": "/a/@title",
"cateVodId": "/a/@href",
"cateVodIdR": "/voddetail/(\\w+).html",
"cateVodImg": "/a/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "/span[contains(@class,'vod_remarks')]/text()",
"dtUrl": "https://movie.sky4k.ga/voddetail/{vid}.html",
"dtNode": "//div[@class='container detail']",
"dtName": "/div[@class='detail-objs']/div[@class='obj-info']/h1/text()",
"dtNameR": "",
"dtImg": "/div[@class='detail-objs']/div[@class='obj-pic']/a[@class='picHover']/img/@src",
"dtImgR": "",
"dtCate": "//div[@class='tag-link']/a/text()",
"dtCateR": "",
"dtYear": "//a[@class='tag-link'][2]/text()",
"dtYearR": "",
"dtArea": "//a[@class='tag-link'][3]/text()",
"dtAreaR": "",
"dtMark": "//label[contains(text(),'Date')]/following-sibling::*/text()",
"dtMarkR": "",
"dtActor": "//label[contains(text(),'Actor')]/following-sibling::*/a/text()",
"dtActorR": "",
"dtDirector": "//label[contains(text(),'Director')]/following-sibling::*/a/text()",
"dtDirectorR": "",
"dtDesc": "//div[@class='vod_content']/text()[1]",
"dtDescR": "",
"dtFromNode": "//div[@class='playlist']/div/div[@class='play-title']/div[@class='player_info']/h2",
"dtFromName": "/text()",
"dtFromNameR": "\\S+\\.(\\S+) \\(",
"dtUrlNode": "//div[contains(@class,'play_li fn-clear')]",
"dtUrlSubNode": "/a",
"dtUrlId": "@href",
"dtUrlIdR": "/vodplay/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://movie.sky4k.ga/vodplay/{playUrl}.html",
"playUa": "",
"searchUrl": "https://movie.sky4k.ga/vodsearch/-------------.html?wd={wd}",
"scVodNode": "//li[@class='dx-vod']",
"scVodName": "/a/@title",
"scVodId": "/a/@href",
"scVodIdR": "/voddetail/(\\w+).html",
"scVodImg": "/a/@data-original",
"scVodImgR": "\\S+(http\\S+)",
"scVodMark": "/span[contains(@class,'vod_remarks')]/text()",
"filter": {
"1": [
{
"key": "cateId",
"name": "Sort",
"value": [
{"n": "All","v": ""},
{"n": "BiliBili","v": "21"},
{"n": "Action","v": "6"},
{"n": "Comendy","v": "7"},
{"n": "Romance","v": "8"},
{"n": "Sci-Fi","v": "9"},
{"n": "Horror","v": "10"},
{"n": "Drama","v": "11"},
{"n": "War","v": "12"}
]
},
{
"key": "area",
"name": "Country",
"value": [
{"n": "All","v": ""},
{"n": "CN","v": "大陆"},
{"n": "HK","v": "香港"},
{"n": "TW","v": "台湾"},
{"n": "US","v": "美国"},
{"n": "FR","v": "法国"},
{"n": "EN","v": "英国"},
{"n": "JP","v": "日本"},
{"n": "KR","v": "韩国"}
]
},
{
"key": "year",
"name": "Year",
"value": [
{"n": "All","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "By",
"value": [
{"n": "Time","v": "time"},
{"n": "Hits","v": "hits"},
{"n": "Score","v": "score"}
]
}
],
"2": [
{
"key": "cateId",
"name": "Sort",
"value": [
{"n": "All","v": ""},
{"n": "Bilibili","v": "22"},
{"n": "CN","v": "13"},
{"n": "HK/TW","v": "14"},
{"n": "KR/JP","v": "15"},
{"n": "US/UK","v": "16"}
]
},
{
"key": "year",
"name": "Year",
"value": [
{"n": "All","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "By",
"value": [
{"n": "Time","v": "time"},
{"n": "Hits","v": "hits"},
{"n": "Score","v": "score"}
]
}
],
"3": [
{
"key": "area",
"name": "Country",
"value": [
{"n": "All","v": ""},
{"n": "CN","v": "内地"},
{"n": "HK/TW","v": "港台"},
{"n": "JP/KR","v": "日韩"},
{"n": "US/UK","v": "欧美"}
]
},
{
"key": "year",
"name": "Year",
"value": [
{"n": "All","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "By",
"value": [
{"n": "Time","v": "time"},
{"n": "Hits","v": "hits"},
{"n": "Score","v": "score"}
]
}
],
"4": [
{
"key": "cateId",
"name": "Sort",
"value": [
{"n": "All","v": ""},
{"n": "Bilibili","v": "23"}
]
},
{
"key": "area",
"name": "Country",
"value": [
{"n": "All","v": ""},
{"n": "CN","v": "国产"},
{"n": "JP","v": "日本"},
{"n": "US","v": "欧美"},
{"n": "Other","v": "其他"}
]
},
{
"key": "year",
"name": "Year",
"value": [
{"n": "All","v": ""},
{"n": "2021","v": "2021"},
{"n": "2020","v": "2020"},
{"n": "2019","v": "2019"},
{"n": "2018","v": "2018"},
{"n": "2017","v": "2017"},
{"n": "2016","v": "2016"},
{"n": "2015","v": "2015"},
{"n": "2014","v": "2014"},
{"n": "2013","v": "2013"},
{"n": "2012","v": "2012"}
]
},
{
"key": "by",
"name": "By",
"value": [
{"n": "Time","v": "time"},
{"n": "Hits","v": "hits"},
{"n": "Score","v": "score"}
]
}
]
}
}

View File

@ -1,67 +0,0 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://www.duboku.su",
"dcVipFlag": "true",
"pCfgJs": "https://www.duboku.su/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[contains(@class,'myui-header__menu nav-menu')]/li[contains(@class, 'dropdown-hover')]//div/ul/li/a[contains(@href, 'vodtype') and not(contains(@href,'label'))]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/vodtype/(\\w+).html",
"cateManual": {},
"homeVodNode": "//div[contains(@class, 'padding-0')]//ul[contains(@class,'myui-vodlist')]/li//a[contains(@class,'myui-vodlist__thumb')]",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/voddetail/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "/span[contains(@class,'pic-text')]/text()",
"cateUrl": "https://duboku.su/vodtype/{cateId}-{catePg}.html",
"cateVodNode": "//ul[contains(@class,'myui-vodlist')]//li//a[contains(@class,'myui-vodlist__thumb')]",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/voddetail/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "/span[contains(@class,'pic-text')]/text()",
"dtUrl": "https://duboku.su/voddetail/{vid}.html",
"dtNode": "//div[contains(@class,'col-lg-wide-75')]",
"dtName": "//div[@class='myui-content__thumb']/a[contains(@class,'myui-vodlist__thumb')]/@title",
"dtNameR": "",
"dtImg": "//div[@class='myui-content__thumb']/a[contains(@class,'myui-vodlist__thumb')]/img/@data-original",
"dtImgR": "\\S+(http\\S+)",
"dtCate": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '分类')]/following-sibling::*/text()",
"dtCateR": "",
"dtYear": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '年份')]/following-sibling::*/text()",
"dtYearR": "",
"dtArea": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '地区')]/following-sibling::*/text()",
"dtAreaR": "",
"dtMark": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '更新')]/following-sibling::*/text()",
"dtMarkR": "",
"dtActor": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '主演')]/following-sibling::*/text()",
"dtActorR": "",
"dtDirector": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '导演')]/following-sibling::*/text()",
"dtDirectorR": "",
"dtDesc": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '简介')]/parent::text()",
"dtDescR": "",
"dtFromNode": "//a[@data-toggle='tab' and contains(@href, 'playlist')]",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//div[contains(@class,'tab-content')]/div[contains(@id, 'playlist')]",
"dtUrlSubNode": "//li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/video/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://duboku.su/video/{playUrl}.html",
"playUa": "",
"searchUrl": "https://duboku.su/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": ""
}

View File

@ -1,53 +0,0 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://gimytv.com/",
"dcVipFlag": "true",
"pCfgJs": "https://gimytv.com/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[@class='myui-header__menu']/li/a[contains(@href, 'browse')]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/browse/(\\w+).html",
"cateManual": {
"电影": "movies",
"电视剧": "tvseries",
"综艺": "tv_show",
"动漫": "anime"
},
"homeVodNode": "//ul[@class='myui-vodlist clearfix']/li/div/a",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodMark": "/span[contains(@class, 'pic-text')]/text()",
"cateUrl": "https://gimytv.com/genre/{cateId}---{catePg}.html",
"cateVodNode": "//ul[@class='myui-vodlist clearfix']/li/div/a",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodMark": "/span[contains(@class, 'pic-text')]/text()",
"dtUrl": "https://gimytv.com/{vid}.html",
"dtNode": "//body",
"dtName": "//div[@class='myui-content__thumb']/a/@title",
"dtImg": "//div[@class='myui-content__thumb']/a/img/@data-original",
"dtFromNode": "//div[@class='myui-panel_hd']/div/h3[contains(text(),'線路')]",
"dtFromName": "/text()",
"dtUrlNode": "//ul[contains(@class,'myui-content__list')]",
"dtUrlSubNode": "/li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://gimytv.com/{playUrl}.html",
"playUa": "",
"searchUrl": "https://gimytv.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": ""
}

View File

@ -1,67 +0,0 @@
{
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://jumi.tv",
"dcVipFlag": "true",
"pCfgJs": "https://jumi.tv/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[contains(@class, 'myui-header__menu nav-menu')]/li[@class='dropdown-hover']//ul/li/a[contains(@href, 'type') and not(contains(@href, 'label'))]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/type/(\\w+).html",
"cateManual": {},
"homeVodNode": "//div[contains(@class, 'col-lg-wide-75')]//ul[contains(@class,'myui-vodlist')]/li//a[contains(@class,'myui-vodlist__thumb')]",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/vod/(\\w+).html",
"homeVodImg": "/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "/span[contains(@class,'pic-text')]/text()",
"cateUrl": "https://jumi.tv/type/{cateId}-{catePg}.html",
"cateVodNode": "//ul[contains(@class,'myui-vodlist')]//li//a[contains(@class,'myui-vodlist__thumb')]",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/vod/(\\w+).html",
"cateVodImg": "/@data-original",
"cateVodImgR": "\\S+(http\\S+)",
"cateVodMark": "/span[contains(@class,'pic-text')]/text()",
"dtUrl": "https://jumi.tv/vod/{vid}.html",
"dtNode": "//div[contains(@class,'col-lg-wide-75')]",
"dtName": "//div[@class='myui-content__thumb']/a[contains(@class,'myui-vodlist__thumb')]/@title",
"dtNameR": "",
"dtImg": "//div[@class='myui-content__thumb']/a[contains(@class,'myui-vodlist__thumb')]/img/@data-original",
"dtImgR": "\\S+(http\\S+)",
"dtCate": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '分類')]/following-sibling::*/text()",
"dtCateR": "",
"dtYear": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '年份')]/following-sibling::*/text()",
"dtYearR": "",
"dtArea": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '地區')]/following-sibling::*/text()",
"dtAreaR": "",
"dtMark": "",
"dtMarkR": "",
"dtActor": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '主演')]/following-sibling::*/text()",
"dtActorR": "",
"dtDirector": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '導演')]/following-sibling::*/text()",
"dtDirectorR": "",
"dtDesc": "//div[@class='myui-content__detail']//span[contains(@class,'text-muted') and contains(text(), '簡介')]/parent::text()",
"dtDescR": "",
"dtFromNode": "//a[@data-toggle='tab' and contains(@href, 'playlist')]",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//div[contains(@class,'tab-content')]/div[contains(@id, 'playlist')]",
"dtUrlSubNode": "//li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/play/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://jumi.tv/play/{playUrl}.html",
"playUa": "",
"searchUrl": "https://jumi.tv/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": ""
}

View File

@ -1,43 +0,0 @@
{
"ua": "",
"homeUrl": "https://www.nfmovies.com",
"cateNode": "//li[contains(@class,'search-ul')]//ul/li/a[contains(@href, '/list/')]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/list/(\\d+)",
"cateManual": {},
"homeVodNode": "//ul[contains(@class,'myui-vodlist clearfix')]/li[position()<6]/div/a",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/detail/(\\w+)",
"homeVodImg": "/@data-original",
"homeVodMark": "/span[contains(@class, 'pic-text')]/text()",
"cateUrl": "https://www.nfmovies.com/list/{cateId}-{catePg}",
"cateVodNode": "//ul[contains(@class,'myui-vodlist clearfix')]/li/div/a",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/detail/(\\w+)",
"cateVodImg": "/@data-original",
"cateVodMark": "/span[contains(@class, 'pic-text')]/text()",
"dtUrl": "https://www.nfmovies.com/detail/{vid}",
"dtNode": "//div[contains(@class,'myui-content__thumb')]/parent::*",
"dtName": "//a[contains(@class,'myui-vodlist__thumb')]/@title",
"dtImg": "//a[contains(@class,'myui-vodlist__thumb')]/img/@data-original",
"dtFromNode": "//a[@data-toggle='tab' and contains(@href, 'playlist')]",
"dtFromName": "/text()",
"dtUrlNode": "//div[contains(@class,'tab-content')]/div[contains(@id, 'playlist')]",
"dtUrlSubNode": "//li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/video/(\\S+)",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://www.nfmovies.com/video/{playUrl}",
"playUa": "",
"searchUrl": "https://www.nfmovies.com/search.php?searchword={wd}",
"scVodNode": "//ul[contains(@class,'myui-vodlist__media')]//div[@class='thumb']",
"scVodName": "/a/@title",
"scVodId": "/a/@href",
"scVodIdR": "/detail/(\\w+)",
"scVodImg": "/a/@data-original",
"scVodMark": "/a/span[contains(@class, 'pic-text')]/text()"
}

View File

@ -1,66 +0,0 @@
{
"author": "涟漪",
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
"homeUrl": "https://movie.sky4k.ga",
"dcVipFlag": "true",
"pCfgJs": "https://movie.sky4k.ga/static/js/playerconfig.js",
"pCfgJsR": "[\\W|\\S|.]*?MacPlayerConfig.player_list[\\W|\\S|.]*?=([\\W|\\S|.]*?),MacPlayerConfig.downer_list",
"dcShow2Vip": {},
"dcPlayUrl": "true",
"cateNode": "//ul[@class='vi-nav swiper-wrapper clearfix']/li/a[contains(@href, '.html') and not(contains(@href, 'topic'))]",
"cateName": "/text()",
"cateId": "/@href",
"cateIdR": "/vodshow/(\\d+)-----------.html",
"cateManual": {},
"homeVodNode": "//ul[@class='dx-list dx-left']/li[@class='dx-vod']",
"homeVodName": "/a/@title",
"homeVodId": "/a/@href",
"homeVodIdR": "/voddetail/(\\w+).html",
"homeVodImg": "/a/@data-original",
"homeVodMark": "/span[contains(@class,'vod_remarks')]/text()",
"cateUrl": "https://movie.sky4k.ga/vodshow/{cateId}--------{catePg}---.html",
"cateVodNode": "//li[@class='dx-vod']",
"cateVodName": "/a/@title",
"cateVodId": "/a/@href",
"cateVodIdR": "/voddetail/(\\w+).html",
"cateVodImg": "/a/@data-original",
"cateVodMark": "/span[contains(@class,'vod_remarks')]/text()",
"dtUrl": "https://movie.sky4k.ga/voddetail/{vid}.html",
"dtNode": "//div[@class='container detail']",
"dtName": "/div[@class='detail-objs']/div[@class='obj-info']/h1/text()",
"dtNameR": "",
"dtImg": "/div[@class='detail-objs']/div[@class='obj-pic']/a[@class='picHover']/img/@src",
"dtImgR": "",
"dtCate": "//div[@class='col-md-8']//span[@class='info-label' and contains(text(), '类型')]/parent::*/following-sibling::*/text()",
"dtCateR": "",
"dtYear": "//div[@class='col-md-8']//span[@class='info-label' and contains(text(), '日期')]/parent::*/following-sibling::*/text()",
"dtYearR": "",
"dtArea": "//div[@class='col-md-8']//span[@class='info-label' and contains(text(), '国家')]/parent::*/following-sibling::*/text()",
"dtAreaR": "",
"dtMark": "//div[@class='col-md-8']//span[@class='info-label' and contains(text(), '状态')]/parent::*/following-sibling::*/text()",
"dtMarkR": "",
"dtActor": "/div[@class='detail-objs']/div[@class='obj-info']/div[@class='info-main']/div[@class='info-items'][2]/div[@class='video-info-item video-info-actor']/a/text()",
"dtActorR": "",
"dtDirector": "/div[@class='detail-objs']/div[@class='obj-info']/div[@class='info-main']/div[@class='info-items'][1]/div[@class='item-tags info-actor']/a/text()",
"dtDirectorR": "",
"dtDesc": "//div[@class='vod_content']/text()",
"dtDescR": "",
"dtFromNode": "//div[@class='playlist']/div/div[@class='play-title']/div[@class='player_info']/h2",
"dtFromName": "/text()",
"dtFromNameR": "\\S+\\.(\\S+) \\(",
"dtUrlNode": "//div[contains(@class,'play_li fn-clear')]",
"dtUrlSubNode": "/a",
"dtUrlId": "@href",
"dtUrlIdR": "/vodplay/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://movie.sky4k.ga/vodplay/{playUrl}.html",
"playUa": "",
"searchUrl": "https://movie.sky4k.ga/vodsearch/-------------.html?wd={wd}",
"scVodNode": "//li[@class='dx-vod']",
"scVodName": "/a/@title",
"scVodId": "/a/@href",
"scVodIdR": "/voddetail/(\\w+).html",
"scVodImg": "/a/@data-original",
"scVodMark": "/span[contains(@class,'vod_remarks')]/text()"
}