提交 dd23670c 编写于 作者: H hjdhnx

修复了几个源

上级 e40d25c9
3.9.31beta3
\ No newline at end of file
3.9.31beta4
\ No newline at end of file
var rule = {
title: '九酷',
host: 'https://jiuku.site',
homeUrl: '',
searchUrl: '',
searchable: 1,
quickSearch: 1,
filterable: 1,
headers:{'User-Agent':'MOBILE_UA','Cookie':'ecPopup=1'},
// 分类链接fypage参数支持1个()表达式
url: '/index.php/api/vod#type=fyclass&page=fypage&time=1670922043&key=8b217b963c185115ad035883ef449788',
一级:''
}
\ No newline at end of file
muban.海螺3.二级.content = '.hl-infos-content&&Text';
var rule = Object.assign(muban.海螺3,{
muban.海螺3.二级.desc = ';;;.hl-full-box .hl-col-xs-12:eq(3)&&Text;.hl-full-box .hl-col-xs-12:eq(4)&&Text';
muban.海螺3.二级.content = '.hl-col-xs-12.blurb&&Text';
var rule = {
title:'小猫咪',
host:'https://xmaomi.net',
});
\ No newline at end of file
模板:'海螺3',
// host:'https://xmaomi.net',
host:'https://xmaomi.top',
url: '/vod___________show/fyclass--------fypage---.html',
}
\ No newline at end of file
......@@ -10,21 +10,26 @@ var rule = {
'User-Agent':'MOBILE_UA'
},
timeout:5000,
// homeUrl:'/fenlei/',
// class_parse: '.pd-class:eq(0) dd;a&&Text;a&&href;.*/(.*?).html',
class_name:'网络玄幻&恐怖悬疑&传统武侠&都市言情&官场刑侦&历史军事&探险盗墓&职场商战&明朝那些事儿&评书下载&相声戏曲&人物传记&广播剧&百家讲坛&外语读物&有声文学&儿童读物&管理营销',
class_url:'r52&r17&r12&r13&r14&r15&r45&r81&r36&r3&r7&r16&r18&r32&r35&r41&r4&r6',
play_parse:true,
lazy:'',
limit:6,
double:true,
推荐:'.list-ul;a;.list-name&&Text;img&&data-original;.module-slide-author&&Text;a&&href',
一级:'.book-ol&&li;h4&&Text;img&&data-original;.book-submeta&&Text;a&&href',
二级:{title:'h2&&Text',img:'.bookimg&&img&&data-original',desc:'.book-rand-a:eq(0)&&Text;.book-rand-a:eq(1)&&Text;.book-rand-a:eq(2)&&Text;.book-rand-a:eq(3)&&Text',content:'.book_intro&&Text',
tabs:'.list-contitle&&h3',
lists:'',
lists:'js:pd=jsp.pd;let url=pd(html,".bookbutton&&a&&href");log(url);html=request(url);let v=pd(html,".booksite&&script&&Html");var document={};var VideoListJson;VideoListJson=eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]);log(typeof VideoListJson);let list1=VideoListJson[0][1];LISTS=[list1];log(LISTS);',
// 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
// lists:'#playlist:eq(#id)&&ul&&li',
lists:'#playlist ul li',
// double:true,
推荐:'.list-ul .list-li;.list-name&&Text;*;.module-slide-author&&Text;*',
一级:'.book-ol&&li;h4&&Text;img&&data-original;.book-meta&&Text;a&&href',
二级:{
title:'h2&&Text;.book-cell .book-rand-a:eq(2)&&Text',
img:'.book img&&src',
desc:';;;;.book-des p&&Text',
content:'.book-des&&Text',
tabs:'.playlist-top&&h2',
// lists:'js:pd=jsp.pd;let url=pd(html,".bookbutton&&a&&href");log(url);html=request(url);let v=pd(html,".booksite&&script&&Html");var document={};var VideoListJson;VideoListJson=eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]);log(typeof VideoListJson);let list1=VideoListJson[0][1];LISTS=[list1];log(LISTS);',
// 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
// lists:'#playlist:eq(#id)&&ul&&li',
lists:'#playlist ul li',
},
搜索:'*',
}
\ No newline at end of file
muban.mxone5.二级.title = 'h1&&Text;.video-info-aux&&Text';
muban.mxone5.二级.desc = ';;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text';
var rule = {
title: '海外看影院',
host: 'https://haiwaiys.cc',
模板:'mxone5',
// host: 'https://haiwaiys.cc',
host: 'https://www.huale.org',
// url: '/vodshow/fyclass--------fypage---.html',
url: '/vodshow/fyfilter.html',
filterable:1,//是否启用分类筛选,
......@@ -13,23 +17,7 @@ var rule = {
4:{cateId:'4'},
21:{cateId:'21'}
},
searchUrl: '/vodsearch/**----------fypage---.html',
searchable: 2,
quickSearch: 0,
headers: {'User-Agent': 'UC_UA',},
class_name:'电影&电视剧&综艺&动漫&记录片',
class_url:'1&2&3&4&21',
// 推荐:'.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
推荐:'.module-items&&.module-item;*;*;*;*',
一级:'.module-items .module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
二级: {
"title": "h1&&Text;.tag-link&&Text",
"img": ".module-item-pic&&img&&data-src",
"desc": ".video-info-items:eq(0)&&Text;.video-info-items:eq(1)&&Text;.video-info-items:eq(2)&&Text;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text",
"content": ".vod_content&&Text",
"tabs": ".module-tab-item",
"lists": ".module-player-list:eq(#id)&&.scroll-content&&a"
},
// 搜索: '.module-items .module-search-item;a&&title;img&&data-src;.video-serial&&Text;a&&href',
搜索: '.module-items .module-search-item;*;*;.video-serial&&Text;*',
searchUrl:'/index.php/ajax/suggest?mid=1&wd=**',
detailUrl:'/voddetail/fyid.html', //非必填,二级详情拼接链接
搜索:'json:list;name;pic;;id',
}
\ No newline at end of file
var rule = Object.assign(muban.mxpro,{
title:'莫扎兔',
host:'https://www.mozhatu.com',
url:'/index.php/vod/show/id/fyclass/page/fypage.html',
searchUrl:'/index.php/vod/search/page/fypage/wd/**.html',
class_parse:'.navbar-items li:gt(2):lt(8);a&&Text;a&&href;.*/(.*?).html',
});
\ No newline at end of file
muban.mxpro.二级.desc = ';;;.module-info-item-content:eq(1)&&Text;.module-info-item-content:eq(0)&&Text';
muban.mxpro.二级.tabs = '#y-playList .module-tab-item';
var rule = {
title:'莫扎兔',
模板:'mxpro',
host:'https://www.mozhatu.com',
url:'/index.php/vod/show/id/fyclass/page/fypage.html',
searchUrl:'/index.php/vod/search/page/fypage/wd/**.html',
class_parse:'.navbar-items li:gt(2):lt(8);a&&Text;a&&href;.*/(.*?).html',
}
\ No newline at end of file
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# File : 九酷.py
# Author: DaShenHan&道长-----先苦后甜,任凭晚风拂柳颜------
# Date : 2022/12/14
import requests
import time
import ujson
headers = {
'x-requested-with':'XMLHttpRequest',
'user-agent':'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',
'Cookie':'ecPopup=1;crisp-client%2Fsession%2Fba128124-8ac1-44d1-8420-98420b4da478=session_8d89f90c-4b46-4895-86d8-03a74770b741'
}
s = requests.session()
s.get('https://jiuku.site/index.php/vod/type/id/1.html')
print(s.cookies)
fyclass = 1
fypage = 1
tm = int(time.time())
tm = ''
print(tm)
data = f'type={fyclass}&page={fypage}&time={tm}1670981084&key=52871810a25aa2ac4675e3c4dfd321c6'
data_dict = {}
for dt in data.split('&'):
data_dict[dt.split('=')[0]] = dt.split('=')[1]
print(data_dict)
data_dict = ujson.dumps(data_dict)
r = s.post('https://jiuku.site/index.php/api/vod',data=data_dict,headers=headers)
print(r.text)
\ No newline at end of file
js:
let body = input.split('#')[1];
let url = input.split('#')[0];
fetch_params.body = body;
fetch_params.headers['x-requested-with'] = 'XMLHttpRequest';
// fetch_params.headers['cookie'] = 'PHPSESSID=e7ht5hvema4sg0o8l1o5k0bqt1; Hm_lvt_eebb854b7348edadfb6b433786f5d059=1666239708; Hm_lpvt_eebb854b7348edadfb6b433786f5d059=1666244071';
let url = input.split('?')[0];
let html = post(url,fetch_params);
print(html);
let data = JSON.parse(html);
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册