mirror of
https://github.com/alantang1977/X.git
synced 2024-11-14 23:13:09 +02:00
96 lines
68 KiB
JSON
96 lines
68 KiB
JSON
|
//写法思路来自biubiu影院,海阔视界,xpath筛选。
|
|||
|
//项目魔改至github开源仓库https://github.com/Tangsan99999/TvJar中的XBiubiu.java文件,
|
|||
|
|
|||
|
{
|
|||
|
//规则名
|
|||
|
"title": "斗鱼直播",
|
|||
|
//作者
|
|||
|
"author": "聆听优美旋律",
|
|||
|
//请求头UA,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
|
|||
|
//习惯查看手机源码写建议用手机版UA,习惯查看PC版源码写建议用电脑版UA
|
|||
|
"UserAgent":"MOBILE_UA",
|
|||
|
//请求头Referer参数,如果只是播放页需要,填WebView即可引用播放页的链接作嗅探Referer参数。
|
|||
|
//一般很少用,留空或删除
|
|||
|
"Referer":"",
|
|||
|
//是否开启获取首页数据,0关闭,1开启
|
|||
|
"homeContent":"0",
|
|||
|
//分类链接起始页码,禁止负数和含小数点。
|
|||
|
"firstpage": "1",
|
|||
|
//分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
|
|||
|
"class_url": "https://m.douyu.com/api/room/list?page={catePg}&type={cateId}",
|
|||
|
//分类名,分类1&分类2&分类3
|
|||
|
"class_name": "星势力&网游竞技&单机热游&手游休闲&娱乐天地&颜值&科技文化&语音互动&语音直播&正能量&赛车竞技&京斗云",
|
|||
|
//分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
|
|||
|
"class_value": "xsl&LOL&TVgame&wzry&ecy&yz&wh&paidui&yyjy&znl&eracing&jdy",
|
|||
|
//筛选数据,支持直写,clan://本地路径(可能有bug),http云端链接,标准json格式,参考xpath的筛选写法
|
|||
|
//填ext可以使用下面手动填写的筛选数据。
|
|||
|
"filterdata":"ext",
|
|||
|
|
|||
|
//!!!要使用下面的筛选数据,筛选数据那一定要填ext,"filterdata":"ext"
|
|||
|
//子分类名称{cateId},第一子分类1&第一子分类2||第二子分类1&第二子分类2
|
|||
|
"fclass_name": "星势力||英雄联盟&热门游戏&穿越火线&超击突破&CFHD&使命召唤&DNF&DOTA2&炉石传说&CS:GO&无畏契约&lol云顶之弈&魔兽争霸&魔兽怀旧服&自走棋&传奇&跑跑卡丁车&网易游戏&星际争霸&格斗游戏&守望先锋归来&DOTA&魔兽世界&剑网3&魔域&我的世界&超激斗梦境&冒险岛&三国杀&梦幻西游&天涯明月刀&街头篮球&NBA2KOL2&QQ飞车端游&战地之王&军事游戏&棋牌娱乐&FIFA ONLINE 4&热门网游&诛仙世界&千古风流&APEX&流放之路POE&剑网3缘起&逆水寒&风暴英雄&逆战&坦克世界&战舰世界&巫师之昆特牌&反恐精英Online&暗黑破坏神&梦三国2&传奇世界&方舟:生存进化&刀塔霸业&神武4电脑版&群雄逐鹿&堡垒之夜&无限法则&问道电脑版&西山居游戏&最终幻想14&战意&剑灵&星际战甲&龙之谷&铁甲雄兵&古剑奇谭网络版&轩辕传奇&神途&激战2&高达文化区&忍者村大战2&RPG网游专区&诛仙3&Artifact&斗鱼游戏&笑傲江湖OL&冒险岛2&无尽战区&生死狙击&斗战神&永恒之塔&竞速游戏&九阴真经&我的起源&FPS综合网游&劲舞团&天下&刀锋铁骑&火箭联盟&泡泡堂&武侠乂&音乐游戏&百变球球&游戏装机&新倩女幽魂&创世战车&天谕&征途2&QQ炫舞&泰亚史诗&大唐无双&枪火游侠&海战世界&秘境对决&兽人必须死&怪物猎人ol&火源&生存竞技&手工星球&艾兰岛&腾讯游戏&星战前夜:晨曦&热血传奇怀旧版&仙侠世界2&Anarea&枪火重生&彩虹岛&御龙在天&英魂之刃&自由篮球&洛奇英雄传&洛奇&封印者&奇奥英雄传&合金弹头&新英雄年代&星尘传说&盛趣游戏&九阴真经2&沙盒游戏&体育网游&我的世界:地下城&恐鬼症&领地人生&梦塔防&重生边缘&大话西游2&猎人&虎豹骑&传奇之梦&伏魔传&梦想世界3电脑版&海之乐章2&新风火之旅&鬼谷无双&猎龙战记&不败传说&天子剑&热血江湖online&血杀英雄&千年3&逍遥情缘&天空之城&快乐西游&诺亚传说&鹿鼎记&新桃花源记&疾风之刃电脑版&武魂2电脑版&奇迹世界sun&地城之光&新丝路&剑侠世界2电脑版&斩魂&大唐2&幻想神域电脑版&蜀山:初章&狼人对决网游&武林群侠传&飘流幻境&卡拉彼丘&破天一剑&剑雨江湖&四国军棋&命运方舟&新大话西游3&装甲战争&释厄英雄&隆冬&暴雪游戏综合&Battlebit&HypeSquad&长尾4部虚拟分区&幕后高手&燕云十六声&THE FINALS&不良土壤&篮球高手&NBA2K Online&塔瑞斯世界&再战Online&跑跑卡丁车:漂移&传奇永恒&ARC Raiders&传奇归来&权力的游戏 凛冬将至页游&异星前哨&The Front&欺骗公司&全境封锁2||主机游戏&刺客信条:英灵殿&马里奥制造&逃离塔科夫&命运2&墲人之境&Evil Dead&恐怖游戏&荒野大镖客&九劫曲&灵魂筹码&骑马与砍杀&只狼&饥荒&全境封锁&怀旧游戏&战地风云&隐形守护者&ATLAS&进击的巨人&NBA2K&八方旅人&血污:夜之仪式&人类一败涂地&挺进地牢&环世界&古墓丽影&波西亚时光&鬼泣&往日不再&仙剑奇侠传&神秘海域&塞尔达系列&僵尸世界大战&足球游戏&橙光&莎木&圣歌&了不起的修仙模拟器&女神异闻录&斯普拉遁&超级马里奥&三国志系列&星际公民&最终幻想&中土世界:战争之影&流放者柯南&行尸走肉&深海迷航&三国群英传&腐烂国度&无主之地&层层恐惧&圣女战旗&瘟疫传说:无罪&哆啦A梦:牧场物语&鬼哭邦&幽灵行动:断点&不屈者柯南&风之旅人&辐射&太吾绘卷&SCUM&正当防卫&以撒的结合&文明&仁王&缺氧&全面吃鸡模拟器&古剑奇谭&宝可梦:剑/盾&魔法破碎&JUMP大乱斗&皇牌空战&体育游戏&海岛大亨&NBA 2K 欢乐竞技场2&碧海黑帆&最后生还者2&装机模拟器&侏罗纪世界:进化&植物大战僵尸:花园战争系列&蜘蛛侠&战争机器5&战国无双&勇者斗恶龙:建造者2&遗迹:灰烬重生&血源&羞辱系列&星之卡比&侠客风云传&旺达与巨像&吞食孔明传&突变元年:伊甸园之路&死亡搁浅&双点医
|
|||
|
//分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1
|
|||
|
"fclass_value": "xsl||LOL&rmyx&CF&SuperPeople&CFHD&COD&DNF&DOTA2&How&CSGO&VALORANT&ydzhy&mszb&wowclassic&dota2rpg&cq&Popkart&wyyx&SC&FTG&Overwatch&DOTA&WOW&JX3&EudemonsOnline&MC&cjdmj&mxd&sanguosha&MHXYOL&tianya&jtlq&NBA2KOL2&qqfcdy&AVA&jsyx&qipai&FOL4&rmwy&zxsj&qgflpc&APEX&PathofExile&JW3YQ&nsh&HOTS&NZ&TKSJ&wfws&wszktp&CS&DIABLO&msg2&cqsj&fzscjh&DotaUnderlords&swdnb&qxzl&blzy&roe&wddnb&Seasun&FF14&WYZY&BladeSoul&Warframe&DragonNest&tjxb&gjqtwlb&XYCQ&shentu&GuildWars2&gdyxq&rzcdz2&rpgwyzq&zhuxian3&Artifact&DYYX&xajhol&MXD2&WJZQ&BattleTeams&dzs&AION&jingsu&JYZJ&wdqy&FPSOL&jwt&tianxai&dftq&hjlm&ppt&wxy&MG&BBQQ&youxizhuangji&ONLINE&cszc&tianyu&zhengtu2&qqxw&tyss&dtws&qhyx&hzsj&mjdj&srbxs&MHol&hy&scjj&sgxq&ald&TencentGame&EVE&rxcqhjsgb&xxsj2&Anarea&qhcs&CHD&YLZT&YHZR&ZYLQ&LQYXZ&LQ&FYZ&QAYXZ&HJDT&XYXSD&XCCS&SQYX&JYZJ2&SHYX&TYWY&MD&KGZ&LDRS&TDOTK&CSBYOL&dhxy2&lr&hbq&cqzm&fmz&mxsjpc3&hzyz2&xfhzl&ggws&llzj&bbcs&tianzijian&rxjhol&xsxy&qn3&xyqy&tkzc&klxy&nycs&ldj&xthyj&jfzr1&wh2pc&qjsjsun&dczg&xsl1&jxsj2pc&zhpc&dt2pc&hxsypc&ssczpc&lrdjpc&wlqxzpc&plhjpc&klbq&ptyj&jyjh&sgjq&LostArk&xy3&zjzz&SEYX&longvinter&g_bliz&BBR&HypeSquad&cw4bxnfq&VEILEDEXPERTS&WHEREWINDSMEET&THEFINALS&Dysterra&lqgs&NBA2KOL&Tarisland&zzonline&KartRiderDrift&EternalLegend&ARCR&TheReturnofLegend&GOTPC&AlienMarauder&TheFront&DeceiveInc&TheDivision2||TVgame&AC&Mario&EFT&MY2&wu&EvilDead&Horror&hydbk&jjq&lhcm&MountAndBlade&ZL&DontStarve&qjfs&classic&BF&yxshz&ATLAS&AoT&NBA2K&OT&Blood&Human&Enter&RimWorld&gmly&bxysg&DMC&WRBZ&PAL&Uncharted&TLoZ&WWZ&zq&cg&Shenmue&sg&ACS&P5&Splatoon&SMO&Sangokushi&StarCitizen&FF&MiddleEarth&Conan&TWD&Subnautica&SANGO&SoD2&Bor&LoF&Banner&Innocence&Doraemon&GKB&Ghost&bqzkn&Journey&fs&twhj&Scum&zdfw&Isaac&CVI&NIOH&ONI&TAB&GuJian3&PSS&SpellBreak&JUMPDLD&hpkz&tyyx&hddh&nba2khljjc2&klhdt&TLOU2&PCBS&JWE&PvsZ&Spide&Gears&ZGWS&DQB2&Rem&BB&Dish&Kirby&ToW&SotC&ETwK&MYZ&DS&TPH&GK&NG&Sims&TotNS&DA&Bayonetta&JttSP&HKS&SE&SSfR&PLsGo&DriveClub&jxjs&jpfc&Overcooked&TBoD&FtS&COL&MadMax&ME&TSC&DiRT&BTS&Crew&DevilMayCry5&Spore&DD&Rime&ssjjtwo&Inside&sgzj&edwcy&Toukiden&jddj&StrangeBrigade&HoMM&Sonic&Darksiders&jjyx&MetalGear&hsjj&StarWars&ANNO&MsE&WO&OnePiece&PfP&lhzh&Hob&Ancestors&Remw&QuietMan&OPPW&SR&AitD&Alive&PftG&TW&Noita&Rome&DawnMan&ConSim&ESL&Alice&LxL&CBNST&Prey&MMX&Int&FireEmblem&Fable&Outward&Stardew&Effect&SSZSG&Heroes&SAO&BG&Ziggurat&Torchlight&CodeVein&TheEvilWithin&TES&VC&Dauntless&HoF&FoD&LostSphear&Cyberpunk&GF&CP&DQ&HXSGZ&LotF&Biomutant&Pokemon&Disgaea&TLG&NieR&Ys&Surge&JE&KingdomCome&DS3&Phantom&CoC&LiS&TDP&Celeste&GoT&WHF&TWAU&NMS&LEGOW&CapSp&TIF&Deracine&Eastward&EVOTINCTION&Firewatch&F1&RD&Genie>&PC&Ride&SRW&XCOM2&KOEINOBU&SuperMeatBoy&TWoM&SHT&sljt&Frostpunk&AoEIV&CKII&ED&MP&QB&swkj&Bright&OPWS&UH&Beholder&CFB&GE3&Onimusha&Insurgency&KH&Crackdown3&BladedFury&SSBS&Hitman&Mordhau&Rage&Wf&Control&Med&Moons&YCW&Trine&ToolsUp&Sakura&Desp&WARSAW&Otaku&Dark&Ember&KLK&Ori&2020Olympic&WRC&Aegis&DEEEER&Soulstorm&mugen&HomeWork&Football&Post&RoR&Billions&Unheard&Farm&JustDance&ArmA&Pedro&AHT&Kingdoms&Skyhill&Escapists&Oil&BioShock&Divinity&Honor&TABS&Truck&Delivery&Fugitive&mmcy&Wolves&STEEP&Survival&Crysis&FarCry&Holmes&Forager&Skylines&Earth&hdzh&Dungeon&raft&DayZ&60S&RF&DECEIT&theHunter&LC&GD&PK&DC&Cuphead&SoR&MUA&kmg&DW&Anno1800&Yww&CotN&Besiege&Worms&AlanWake&BT&Terraria&EE&Unturned&Factorio&Stellaris&WTLOL&DL&UFC&Portal&Detroit&Castlevania&RL&SpM&Halo&HB&gsczx&Doom&Naruto&JHCC&PA&TF&Kerbal&LoveSim&CookingSim&BumSim&DBX&MarioKart&SimCity&SimFarm&GoatSim&Magicka&EU&TCE&HoboToughLife&ThiefSimulator&TabletopSimulator&AceA&T99&slmmc&QCSZJ&FTL&Undertale&DRGD&CBA&PvZ&CC&BroForce&GGM&HL&Moon&Batman&Refunct&Room&Amnesia&Edith&VH&Shadow&AWO&YJSL&PlanetZoo&TWSJ&LO&VRChat&RichMan&LM&MST&SOSRIMT&Raksasi&Leg&fkjy&DISTRAINT&yxl&Hacknet&SOASER&Starbound&TRS&KF2&YAZD&CH&Kingdom&BCZH&ES2&Mafia&BS&DFZ&swn&BAT&CW&BD2&NB&DDDA&RK&NTF&FFC&NW&HUMANKIND&CT&IR&DBZ&MIKU&BE&THS&MA&Wasteland&BLYWD&OPM&Raji&HERO&PH&Ghostrunner&DRG&mega&Samurai&Forest&kenshi&Hades&Hurtworld&JLDSK&YZBL>FO&fcptdl&jsjc&biped&INVAXION&jjygqsjb&Unrailed&NA&Morta&Moonlighter&Wizard&U
|
|||
|
|
|||
|
"cat_mode": "0",
|
|||
|
"catjsonlist": "data.list",
|
|||
|
//json片单图片
|
|||
|
"catjsonpic": "roomSrc",
|
|||
|
//json片单标题
|
|||
|
"catjsonname": "roomName",
|
|||
|
//json片单链接
|
|||
|
"catjsonid": "rid",
|
|||
|
//json片单副标题,这个很少有,预留着
|
|||
|
"catjsonstitle":"nickname",
|
|||
|
|
|||
|
|
|||
|
//分类片单链接补前缀
|
|||
|
"cat_prefix": "",
|
|||
|
//分类片单链接补后缀
|
|||
|
"cat_suffix": "",
|
|||
|
"SUserAgent":"User-Agent$MOBILE_UA",
|
|||
|
//搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post
|
|||
|
//POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post
|
|||
|
"search_url": "https://m.douyu.com/api/search/liveRoom;post",
|
|||
|
//POST搜索body,填写搜索关键字的键值,一般常见的是searchword和wd,不是POST搜索的可留空或删除。
|
|||
|
"sea_PtBody":{"sk":"{wd}","offset":0,"limit":20,"did":"bf1f5579c0b2f6066af0bee200051531"},
|
|||
|
//搜索模式,0为json搜索,只支持列表在list数组里的,其它为网页截取。
|
|||
|
"search_mode": "0",
|
|||
|
"jsonlist": "data.list",
|
|||
|
//json片单图片
|
|||
|
"jsonpic": "roomSrc",
|
|||
|
//json片单标题
|
|||
|
"jsonname": "roomName",
|
|||
|
//json片单链接
|
|||
|
"jsonid": "roomId",
|
|||
|
//json片单副标题,这个很少有,预留着
|
|||
|
"jsonstitle":"nickname",
|
|||
|
|
|||
|
//搜索片单链接补前缀
|
|||
|
"search_prefix": "",
|
|||
|
//搜索片单链接补后缀,这个一般json搜索的需要
|
|||
|
"search_suffix": "",
|
|||
|
//搜索副标题,截取前缀&&截取后缀
|
|||
|
"sea_subtitle": "",
|
|||
|
|
|||
|
//片单链接是否直接播放,0否,1分类片单链接直接播放,2详情选集链接直接播放。
|
|||
|
//设置成直接播放后,后面3个参数请注意该留空的请务必留空。
|
|||
|
"force_play": "1",
|
|||
|
//直接播放链接补前缀
|
|||
|
"play_prefix": "https://m.douyu.com/",
|
|||
|
//直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
|
|||
|
"play_suffix": "",
|
|||
|
//直接播放链接设置请求头,只对直链视频有效,每一组用#分开
|
|||
|
"play_header": "",
|
|||
|
|
|||
|
//下面几个参数请勿乱用。否则可能会有副作用。
|
|||
|
//分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
|
|||
|
//如果网页源码里没有这种请设置为0
|
|||
|
"Anal_MacPlayer":"0",
|
|||
|
//是否开启手动嗅探,只对网页嗅探有效,0否,1是
|
|||
|
"ManualSniffer":"0",
|
|||
|
//手动嗅探视频链接关键字,每个用#隔开
|
|||
|
"VideoFormat":".mp4#.m3u8#.flv",
|
|||
|
//手动嗅探视频链接过滤关键词,每个用#隔开
|
|||
|
"VideoFilter":".html#=http"
|
|||
|
}
|