|
|
// 搜索功能需登录使用
var rule = { title: 'JustLive', host: 'http://live.yj1211.work', // homeUrl: '/api/live/getRecommend?page=1&size=20',//网站的首页链接,用于分类获取和推荐获取
homeUrl: '/api/live/getRecommendByPlatformArea?platform=bilibili&area=舞见&page=1&size=20',//网站的首页链接,用于分类获取和推荐获取
url: '/api/live/getRecommendByPlatformArea?platform=fyclass&area=fyfilter&page=fypage&size=20', //网站的分类页面链接
class_name: '斗鱼&虎牙&哔哩&网易&抖音', class_url: 'douyu&huya&bilibili&cc&douyin', filterable: 1, filter_url: '{{fl.area}}', filter: { "douyu": [{"key": "area","name": "分区","value": [{"n": "原创IP","v": "原创IP"},{"n": "一起看","v": "一起看"},{"n": "二次元","v": "二次元"},{"n": "音乐","v": "音乐"},{"n": "户外","v": "户外"},{"n": "美食","v": "美食"},{"n": "心动派对","v": "心动派对"},{"n": "音遇恋人","v": "音遇恋人"},{"n": "星秀","v": "星秀"},{"n": "心动FM","v": "心动FM"},{"n": "娱乐推荐","v": "娱乐推荐"},{"n": "新选","v": "新选"},{"n": "颜值","v": "颜值"},{"n": "数码科技","v": "数码科技"},{"n": "纪录片","v": "纪录片"},{"n": "成年教育","v": "成年教育"},{"n": "人文社科","v": "人文社科"},{"n": "派对","v": "派对"},{"n": "心动FM.","v": "心动FM."},{"n": "一起玩","v": "一起玩"},{"n": "语音交友","v": "语音交友"},{"n": "音乐之声","v": "音乐之声"},{"n": "连麦互动","v": "连麦互动"},{"n": "娱乐开黑","v": "娱乐开黑"},{"n": "正能量","v": "正能量"},{"n": "英雄联盟","v": "英雄联盟"},{"n": "热门游戏","v": "热门游戏"},{"n": "穿越火线","v": "穿越火线"},{"n": "重生边缘","v": "重生边缘"},{"n": "无畏契约","v": "无畏契约"},{"n": "CFHD","v": "CFHD"},{"n": "命运方舟","v": "命运方舟"},{"n": "DNF","v": "DNF"},{"n": "DOTA2","v": "DOTA2"},{"n": "使命召唤","v": "使命召唤"},{"n": "炉石传说","v": "炉石传说"},{"n": "CS2","v": "CS2"},{"n": "lol云顶之弈","v": "lol云顶之弈"},{"n": "魔兽争霸","v": "魔兽争霸"},{"n": "魔兽怀旧服","v": "魔兽怀旧服"},{"n": "全民街篮","v": "全民街篮"},{"n": "自走棋","v": "自走棋"},{"n": "传奇","v": "传奇"},{"n": "跑跑卡丁车","v": "跑跑卡丁车"},{"n": "网易游戏","v": "网易游戏"},{"n": "星际争霸","v": "星际争霸"},{"n": "守望先锋","v": "守望先锋"},{"n": "DOTA","v": "DOTA"},{"n": "魔兽世界","v": "魔兽世界"},{"n": "剑网3","v": "剑网3"},{"n": "魔域","v": "魔域"},{"n": "我的世界","v": "我的世界"},{"n": "超激斗梦境","v": "超激斗梦境"},{"n": "冒险岛","v": "冒险岛"},{"n": "三国杀","v": "三国杀"},{"n": "梦幻西游","v": "梦幻西游"},{"n": "天涯明月刀","v": "天涯明月刀"},{"n": "街头篮球","v": "街头篮球"},{"n": "NBA2KOL2","v": "NBA2KOL2"},{"n": "QQ飞车端游","v": "QQ飞车端游"},{"n": "战地之王","v": "战地之王"},{"n": "军事游戏","v": "军事游戏"},{"n": "棋牌娱乐","v": "棋牌娱乐"},{"n": "FC ONLINE","v": "FC ONLINE"},{"n": "热门网游","v": "热门网游"},{"n": "卡拉彼丘","v": "卡拉彼丘"},{"n": "诛仙世界","v": "诛仙世界"},{"n": "千古风流","v": "千古风流"},{"n": "APEX","v": "APEX"},{"n": "流放之路POE","v": "流放之路POE"},{"n": "剑网3缘起","v": "剑网3缘起"},{"n": "逆水寒","v": "逆水寒"},{"n": "风暴英雄","v": "风暴英雄"},{"n": "逆战","v": "逆战"},{"n": "坦克世界","v": "坦克世界"},{"n": "战舰世界","v": "战舰世界"},{"n": "巫师之昆特牌","v": "巫师之昆特牌"},{"n": "反恐精英Online","v": "反恐精英Online"},{"n": "暗黑破坏神","v": "暗黑破坏神"},{"n": "梦三国2","v": "梦三国2"},{"n": "传奇世界","v": "传奇世界"},{"n": "方舟:生存进化","v": "方舟:生存进化"},{"n": "神武4电脑版","v": "神武4电脑版"},{"n": "群雄逐鹿","v": "群雄逐鹿"},{"n": "堡垒之夜","v": "堡垒之夜"},{"n": "无限法则","v": "无限法则"},{"n": "问道电脑版","v": "问道电脑版"},{"n": "西山居游戏","v": "西山居游戏"},{"n": "最终幻想14","v": "最终幻想14"},{"n": "战意","v": "战意"},{"n": "剑灵","v": "剑灵"},{"n": "星际战甲","v": "星际战甲"},{"n": "龙之谷","v": "龙之谷"},{"n": "铁甲雄兵","v": "铁甲雄兵"},{"n": "古剑奇谭网络版","v": "古剑奇谭网络版"},{"n": "轩辕传奇","v": "轩辕传奇"},{"n": "神途","v": "神途"},{"n": "激战2","v": "激战2"},{"n": "高达文化区","v": "高达文化区"},{"n": "忍者村大战2","v": "忍者村大战2"},{"n": "RPG网游专区","v": "RPG网游专区"},{"n": "诛仙3" "huya": [{"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": "颜值"},{"n": "音乐","v": "音乐"},{"n": "趣分享","v": "趣分享"},{"n": "一起买","v": "一起买"},{"n": "科技","v": "科技"},{"n": "英雄联盟","v": "英雄联盟"},{"n": "CS2","v": "CS2"},{"n": "穿越火线","v": "穿越火线"},{"n": "lol云顶之弈","v": "lol云顶之弈"},{"n": "无畏契约","v": "无畏契约"},{"n": "从军","v": "从军"},{"n": "CFHD","v": "CFHD"},{"n": "逆战","v": "逆战"},{"n": "炉石传说","v": "炉石传说"},{"n": "DOTA2","v": "DOTA2"},{"n": "地下城与勇士","v": "地下城与勇士"},{"n": "魔兽世界","v": "魔兽世界"},{"n": "坦克世界","v": "坦克世界"},{"n": "DOTA1","v": "DOTA1"},{"n": "梦三国","v": "梦三国"},{"n": "魔兽争霸3","v": "魔兽争霸3"},{"n": "问道","v": "问道"},{"n": "命运方舟","v": "命运方舟"},{"n": "QQ飞车","v": "QQ飞车"},{"n": "星际争霸","v": "星际争霸"},{"n": "网游竞技","v": "网游竞技"},{"n": "暴雪专区","v": "暴雪专区"},{"n": "射击综合游戏","v": "射击综合游戏"},{"n": "彩虹岛Online","v": "彩虹岛Online"},{"n": "冒险岛","v": "冒险岛"},{"n": "军事游戏","v": "军事游戏"},{"n": "暗黑破坏神","v": "暗黑破坏神"},{"n": "剑灵","v": "剑灵"},{"n": "诛仙3","v": "诛仙3"},{"n": "热血江湖","v": "热血江湖"},{"n": "起凡:群雄逐鹿","v": "起凡:群雄逐鹿"},{"n": "英魂之刃","v": "英魂之刃"},{"n": "神武4电脑版","v": "神武4电脑版"},{"n": "龙之谷","v": "龙之谷"},{"n": "炉石战棋","v": "炉石战棋"},{"n": "全民街篮","v": "全民街篮"},{"n": "永恒之塔","v": "永恒之塔"},{"n": "武林外传一世琴缘","v": "武林外传一世琴缘"},{"n": "全境封锁2","v": "全境封锁2"},{"n": "体育游戏","v": "体育游戏"},{"n": "全球使命","v": "全球使命"},{"n": "九阴真经","v": "九阴真经"},{"n": "逆水寒","v": "逆水寒"},{"n": "征途","v": "征途"},{"n": "寻仙","v": "寻仙"},{"n": "大话西游:归来","v": "大话西游:归来"},{"n": "枪神纪","v": "枪神纪"},{"n": "战舰世界","v": "战舰世界"},{"n": "反恐精英Online","v": "反恐精英Online"},{"n": "生死狙击","v": "生死狙击"},{"n": "千年3","v": "千年3"},{"n": "荒野行动PC版","v": "荒野行动PC版"},{"n": "QQ三国","v": "QQ三国"},{"n": "跑跑卡丁车","v": "跑跑卡丁车"},{"n": "QQ华夏","v": "QQ华夏"},{"n": "街头篮球","v": "街头篮球"},{"n": "新飞飞(FlyFF)","v": "新飞飞(FlyFF)"},{"n": "战争雷霆","v": "战争雷霆"},{"n": "坦克大战","v": "坦克大战"},{"n": "造梦西游OL","v": "造梦西游OL"},{"n": "御龙在天","v": "御龙在天"},{"n": "天涯明月刀","v": "天涯明月刀"},{"n": "天翼决","v": "天翼决"},{"n": "铁甲雄兵","v": "铁甲雄兵"},{"n": "诛仙世界","v": "诛仙世界"},{"n": "星际战甲","v": "星际战甲"},{"n": "流放之路","v": "流放之路"},{"n": "全球使命3","v": "全球使命3"},{"n": "希望OL","v": "希望OL"},{"n": "刀剑英雄","v": "刀剑英雄"},{"n": "新剑侠情缘","v": "新剑侠情缘"},{"n": "FIFA Online系列","v": "FIFA Online系列"},{"n": "生死狙击2","v": "生死狙击2"},{"n": "NBA2KOL系列","v": "NBA2KOL系列"},{"n": "QQ自由幻想","v": "QQ自由幻想"},{"n": "天下","v": "天下"},{"n": "反恐行动online","v": "反恐行动online"},{"n": "英雄年代3","v": "英雄年代3"},{"n": "天堂","v": "天堂"},{"n": "梦想世界3","v": "梦想世界3"},{"n": "剑网3","v": "剑网3" "bilibili":[{"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":"脱口秀"},{"n":"唱见电台","v":"唱见电台"},{"n":"聊天电台","v":"聊天电台"},{"n":"男声电台","v":"男声电台"},{"n":"虚拟Singer","v":"虚拟Singer"},{"n":"虚拟Gamer","v":"虚拟Gamer"},{"n":"虚拟声优","v":"虚拟声优"},{"n":"虚拟男V","v":"虚拟男V"},{"n":"虚拟日常","v":"虚拟日常"},{"n":"虚拟APEX","v":"虚拟APEX"},{"n":"虚拟PK","v":"虚拟PK"},{"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": "单机帮玩"},{"n":"竞技玩法","v":"竞技玩法"},{"n":"养成玩法","v":"养成玩法"},{"n":"棋牌玩法","v":"棋牌玩法"},{"n":"休闲玩法","v":"休闲玩法"},{"n":"搞笑整蛊","v":"搞笑整蛊"},{"n":"英雄联盟","v":"英雄联盟"},{"n":"无畏契约","v":"无畏契约"},{"n":"CS:GO","v":"CS:GO"},{"n":"APEX英雄","v":"APEX英雄"},{"n":"永劫无间","v":"永劫无间"},{"n":"穿越火线","v":"穿越火线"},{"n":"命运方舟","v":"命运方舟"},{"n":"DOTA2","v":"DOTA2"},{"n":"吃鸡行动","v":"吃鸡行动"},{"n":"逃离塔科夫","v":"逃离塔科夫"},{"n":"传奇","v":"传奇"},{"n":"DNF","v":"DNF"},{"n":"卡拉彼丘","v":"卡拉彼丘"},{"n":"幕后高手","v":"幕后高手"},{"n":"生死狙击2","v":"生死狙击2"},{"n":"洛奇英雄传","v":"洛奇英雄传"},{"n":"七日世界","v":"七日世界"},{"n":"最终幻想14","v":"最终幻想14"},{"n":"重生边缘","v":"重生边缘"},{"n":"星际战甲","v":"星际战甲"},{"n":"梦三国","v":"梦三国"},{"n":"英魂之刃","v":"英魂之刃"},{"n":"剑网3","v":"剑网3"},{"n":"从军","v":"从军"},{"n":"全民街篮","v":"全民街篮"},{"n":"铁甲雄兵","v":"铁甲雄兵"},{"n":"新天龙八部","v":"新天龙八部"},{"n":"赛尔号","v":"赛尔号"},{"n":"造梦西游","v":"造梦西游"},{"n":"洛克王国","v":"洛克王国"},{"n":"问道","v":"问道"},{"n":"诛仙世界","v":"诛仙世界"},{"n":"大话西游","v":"大话西游"},{"n":"奇迹MU","v":"奇迹MU"},{"n":"永恒之塔","v":"永恒之塔"},{"n":"QQ三国","v":"QQ三国"},{"n":"人间地狱","v":"人间地狱"},{"n":"彩虹岛","v":"彩虹岛"},{"n":"洛奇","v":"洛奇"},{"n":"跑跑卡丁车","v":"跑跑卡丁车"},{"n":"星际公民","v":"星际公民"},{"n":"Squad战术小队","v":"Squad战术小队"},{"n":"反恐精英Online","v":"反恐精英Online"},{"n":"创世战车","v":"创世战车"},{"n":"装甲战争","v":"装甲战争"},{"n":"守望先锋","v":"守望先锋"},{"n":"阿尔比恩","v":"阿尔比恩"},{"n":"猎杀对决","v":"猎杀对决"},{"n":"CFHD","v":"CFHD"},{"n":"武装突袭","v":"武装突袭"},{"n":"300英雄","v":"300英雄"},{"n":"炉石传说","v":"炉石传说"},{"n":"剑网3缘起","v":"剑网3缘起"},{"n":"街头篮球","v":"街头篮球"},{"n":"综合射击","v":"综合射击"},{"n":"剑灵","v":"剑灵"},{"n":"黑色沙漠","v":"黑色沙漠"},{"n":"天涯明月刀","v":"天涯明月刀"},{"n":"冒险岛","v":"冒险岛"},{"n":"逆战","v":"逆战"},{"n":"� "cc":[{"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":"梦幻西游手游"},{"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":"哈利波特:魔法觉醒"},{"n":"暗黑破坏神:不朽","v":"暗黑破坏神:不朽"},{"n":"综合手游","v":"综合手游"},{"n":"超凡先锋","v":"超凡先锋"},{"n":"梦幻西游网页版","v":"梦幻西游网页版"},{"n":"乱斗西游2","v":"乱斗西游2"},{"n":"《天下》手游","v":"《天下》手游"},{"n":"劲舞团","v":"劲舞团"},{"n":"光明大陆","v":"光明大陆"},{"n":"镇魔曲手游","v":"镇魔曲手游"},{"n":"三少爷的剑","v":"三少爷的剑"},{"n":"迷雾世界","v":"迷雾世界"},{"n":"终结战场","v":"终结战场"},{"n":"永远的7日之都","v":"永远的7日之都"},{"n":"狼人杀","v":"狼人杀"},{"n":"魂之轨迹","v":"魂之轨迹"},{"n":"三国如龙传","v":"三国如龙传"},{"n":"量子特攻","v":"量子特攻"},{"n":"非人学园","v":"非人学园"},{"n":"堡垒前线:破坏与创造","v":"堡垒前线:破坏与创造"},{"n":"战争怒吼","v":"战争怒吼"},{"n":"猎魂觉醒","v":"猎魂觉醒"},{"n":"终结战场PC版","v":"终结战场PC版"},{"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":"猎手之王"},{"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":"有杀气童话2","v":"有杀气童话2"},{"n":"零号任务","v":"零号任务"},{"n":"绝对演绎","v":"绝对演绎"},{"n":"逆水寒手游","v":"逆水寒手游"},{"n":"巅峰极速","v":"巅峰极速"},{"n":"大航海之路","v":"大航海之路"},{"n":"大富翁9","v":"大富翁9"},{"n":"永恒文明","v":"� "douyin":[{"key":"area","name":"分区","value":[{"n":"全部","v":"全部"},{"n":"魔兽世界","v":"魔兽世界"},{"n":"永劫无间","v":"永劫无间"},{"n":"横版格斗","v":"横版格斗"},{"n":"拳皇系列","v":"拳皇系列"},{"n":"我的世界","v":"我的世界"},{"n":"魔兽争霸3","v":"魔兽争霸3"},{"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":"问道端游"},{"n":"明日之后","v":"明日之后"},{"n":"问道手游","v":"问道手游"},{"n":"幻塔","v":"幻塔"},{"n":"崩坏3","v":"崩坏3"},{"n":"天使之战","v":"天使之战"},{"n":"蛋仔派对","v":"蛋仔派对"},{"n":"植物大战僵尸","v":"植物大战僵尸"},{"n":"识字大师","v":"识字大师"},{"n":"美食DIY","v":"美食DIY"},{"n":"球球大作战","v":"球球大作战"},{"n":"荒野乱斗","v":"荒野乱斗"},{"n":"元气骑士","v":"元气骑士"},{"n":"最强的大脑","v":"最强的大脑"},{"n":"5v5推塔手游","v":"5v5推塔手游"},{"n":"DOTA2","v":"DOTA2"},{"n":"格斗手游","v":"格斗手游"},{"n":"赛车游戏","v":"赛车游戏"},{"n":"跑跑卡丁车手游","v":"跑跑卡丁车手游"},{"n":"DOTA","v":"DOTA"},{"n":"第五人格","v":"第五人格"},{"n":"梦三国","v":"梦三国"},{"n":"坦克世界","v":"坦克世界"},{"n":"怀旧FC","v":"怀旧FC"},{"n":"帝国时代","v":"帝国时代"},{"n":"战舰世界","v":"战舰世界"},{"n":"怀旧掌机","v":"怀旧掌机"},{"n":"西游释厄传","v":"西游释厄传"},{"n":"合金弹头","v":"合金弹头"},{"n":"恐龙快打","v":"恐龙快打"},{"n":"无畏契约","v":"无畏契约"},{"n":"射击游戏","v":"射击游戏"},{"n":"CS:GO","v":"CS:GO"},{"n":"吃鸡手游","v":"吃鸡手游"},{"n":"香肠派对","v":"香肠派对"},{"n":"暗区突围","v":"暗区突围"},{"n":"Apex英雄","v":"Apex英雄"},{"n":"高能英雄","v":"高能英雄"},{"n":"阴阳师","v":"阴阳师"},{"n":"明日方舟","v":"明日方舟"},{"n":"崩坏:星穹铁道","v":"崩坏:星穹铁道"},{"n":"炉石传说","v":"炉石传说"},{"n":"少年三国志2","v":"少年三国志2"},{"n":"山海经异兽录","v":"山海经异兽录"},{"n":"铁杆三国","v":"铁杆三国"},{"n":"新不良人","v":"新不良人"},{"n":"JJ象棋","v":"JJ象棋"},{"n":"经典天龙八部","v":"经典天龙八部"},{"n":"光遇","v":"光遇"},{"n":"开心消消乐","v":"开心消消乐"},{"n":"魂斗罗","v":"魂斗罗"},{"n":"红狼(口袋狼人杀)","v":"红狼(口袋狼人杀)"},{"n":"怀旧天龙八部","v":"怀旧天龙八部"},{"n":"汤姆猫跑酷","v":"汤姆猫跑酷"},{"n":"决战平安京","v":"决战平安京"},{"n":"CS 1.6","v":"CS 1.6"},{"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":"人文艺术"}]}] }, filter_def:{ douyu:{area:'原创IP'}, huya:{area:'一起看'}, bilibili:{area:'电子榨菜'}, cc:{area:'星秀'}, douyin:{area:'全部'} }, // detailUrl: '/index/liveRoom?platform=fyclass&roomId=fyid',
// detailUrl: '/api/live/getRoomInfo?uid=&platform=fyclass&roomId=fyid',
detailUrl: 'fyid', searchUrl: '/api/live/search?platform=all&keyWords=**&isLive=0', // searchable: 2,
searchable: 0, quickSearch: 0, headers: { 'User-Agent': 'MOBILE_UA' }, timeout: 5000, play_parse: true, lazy:`js:
let purl = input.split("|")[0]; let pfrom = input.split("|")[1]; let cid = input.split("|")[2]; print("purl:" + purl); print("pfrom:" + pfrom); print("cid:" + cid); let dan = 'https://api.bilibili.com/x/v1/dm/list.so?oid=' + cid; if (/bilibili/.test(pfrom)){ let result = {}; result['parse'] = 0; result['playUrl'] = ''; result['url'] = unescape(purl); result['header'] = { Referer: 'https://live.bilibili.com', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36' }; result['danmaku'] = dan; if (/h5/.test(purl)) { result['contentType'] = ''; input = result } else { result['contentType'] = 'video/x-flv'; input = result } } else { input = purl } `,
limit: 6, 推荐: `js:
var d = []; var html = JSON.parse(request(input)).data; html.forEach(it => { d.push({ title: it.roomName, desc: '👁' + it.online + ' 🆙' + it.ownerName, pic_url: it.roomPic, url: it.platForm + '|' + it.roomId }); }) setResult(d); `,
一级: `js:
var d = []; if (MY_CATE === 'douyin') { let area = MY_FL.area || '全部'; if (area === '全部') { input = HOST + '/api/live/getRecommendByPlatform?platform=douyin&page='+MY_PAGE+'&size=20'; } } var html = JSON.parse(request(input)).data; html.forEach(it => { d.push({ title: it.roomName, desc: '👁' + it.online + ' 🆙' + it.ownerName, pic_url: it.roomPic, url: it.platForm + '|' + it.roomId }); }) setResult(d); `,
二级: `js:
try { if (typeof play_url === "undefined") { var play_url = "" } let platform = input.split("|")[0].replace(HOST+'/',''); let roomId = input.split("|")[1]; let link = HOST + '/api/live/getRoomInfo?uid=&platform=' + platform + '&roomId=' + roomId; var jo = JSON.parse(request(link)).data; VOD = { vod_id: jo.roomId, vod_name: jo.roomName, vod_pic: jo.roomPic, type_name: jo.platForm.replace("huya", "虎牙").replace("douyu", "斗鱼").replace("cc", "网易CC").replace("bilibili", "哔哩哔哩").replace("douyin", "抖音") + "." + jo.categoryName, vod_director: '🆙 ' + jo.ownerName, vod_content: "🏷分区:" + jo.platForm.replace("huya", "虎牙").replace("douyu", "斗鱼").replace("cc", "网易CC").replace("bilibili", "哔哩哔哩").replace("douyin", "抖音") + "·" + jo.categoryName + " 🏷UP主:" + jo.ownerName + " 🏷人气:" + jo.online + (jo.isLive === 1 ? " 🏷状态:正在直播" : "状态:未开播") }; let episodes = JSON.parse(request("http://live.yj1211.work/api/live/getRealUrlMultiSource?platform=" + jo.platForm + "&roomId=" + jo.roomId)).data; //多线路
if (Object.keys(episodes).length !== 0) { let playFrom = []; let playList = []; let kplayList = []; Object.keys(episodes).forEach(function(key) { playFrom.append(key); kplayList = episodes[key].map(function(it) { let title = it.qualityName; let playUrl = it.playUrl // return title + "$" + play_url + urlencode(playUrl)
return title + "$" + play_url + urlencode(playUrl + "|" + jo.platForm + "|" + jo.roomId) }).join("#") playList.append(kplayList); }); let vod_play_from = playFrom.join("$$$"); let vod_play_url = playList.join("$$$"); VOD["vod_play_from"] = vod_play_from; VOD["vod_play_url"] = vod_play_url; } else { var d = []; episodes = JSON.parse(request("http://live.yj1211.work/api/live/getRealUrl?platform=" + jo.platForm + "&roomId=" + jo.roomId)).data; //单线路
var name = { "OD": "原画", "FD": "流畅", "LD": "标清", "SD": "高清", "HD": "超清", "2K": "2K", "4K": "4K", "FHD": "全高清", "XLD": "极速", "SQ": "普通音质", "HQ": "高音质" }; Object.keys(episodes).forEach(function(key) { if (!/ayyuid|to/.test(key)) { d.push({ title: name[key], url: episodes[key] }) } }); d.push( { title: "解析1", url: 'http://epg.112114.xyz/' + jo.platForm +'/' + jo.roomId }, { title: "解析2", url: "https://www.aois.eu.org/live/" + jo.platForm + "/" + jo.roomId }, { title: "解析3", url: "https://www.goodiptv.club/" + jo.platForm + "/" + jo.roomId }, // {
// title: "解析4",
// url: "http://maomao.kandiantv.cn/" + jo.platForm + "1.php?id=" + jo.roomId
// },
{ title: "解析5", url: "http://43.138.170.29:35455/" + jo.platForm + "/" + jo.roomId }, { title: "解析6", url: "http://8.210.232.168/php/" + jo.platForm + ".php?id=" + jo.roomId } ); if (/huya/.test(jo.platForm)) { d.push( { title: "虎牙解析", url: "http://cfss.cc/cdn/hy/" + jo.roomId + ".flv" } ); } VOD["vod_play_from"] = "选择画质"; VOD["vod_play_url"] = d.map(function(it) { return it.title + "$" + play_url + urlencode(it.url + "|" + jo.platForm + "|" + jo.roomId) }).join("#"); setResult(d); } } catch (e) { log("获取二级详情页发生错误:" + e.message); } `,
搜索: `js:
var d = []; var html = JSON.parse(request(input)).data; html.forEach(it => { d.push({ title: it.roomName, desc: '👁' + it.online + ' 🆙' + it.ownerName, pic_url: it.roomPic, url: it.platForm + '|' + it.roomId }); }) setResult(d); `,
//是否启用辅助嗅探: 1,0
sniffer:1, // 辅助嗅探规则js写法
isVideo: `js:
log(input); if(/\\/huya/.test(input)) { input = true } else if(/\\.flv?|\\.m3u8?|\\.mp4?/.test(input)){ input = true }else{ input = false } `,
}
|