X/json/斗鱼直播.json

96 lines
68 KiB
JSON
Raw Normal View History

2023-05-26 09:55:13 +03:00
//写法思路来自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&GT&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&GTFO&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"
}