12345678910111213141516171819202122232425262728 |
- var rule={
- title: '茶杯狐',
- host: 'https://www.5jcd.com/',
- url: 'https://www.5jcd.com/show_/id/fyclass/page/fypage.html',
- searchUrl: 'https://www.5jcd.com/sou/page/fypage/wd/**.html',
- searchable: 2,//是否启用全局搜索,
- quickSearch: 0,//是否启用快速搜索,
- filterable: 0,//是否启用分类筛选,
- headers: {//网站的请求头,完整支持所有的,常带ua和cookies
- 'User-Agent': 'MOBILE_UA', // "Cookie": "searchneed=ok"
- },
- class_parse: '.myui-header__menu li;a&&Text;a&&href;/(\\d+).html',
- play_parse: true,
- lazy: '',
- limit: 6,
- 推荐: 'ul.myui-vodlist.clearfix;li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
- double: true, // 推荐内容是否双层定位
- 一级: '.myui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
- 二级: {
- "title": ".myui-content__detail .title&&Text;.myui-content__detail p:eq(-2)&&Text",
- "img": ".myui-content__thumb .lazyload&&data-original",
- "desc": ".myui-content__detail p:eq(0)&&Text;.myui-content__detail p:eq(1)&&Text;.myui-content__detail p:eq(2)&&Text",
- "content": ".content&&Text",
- 'tabs':'.myui-panel-box.clearfix h3:not(:contains(热播))',
- "lists": ".myui-content__list:eq(#id) a"
- },
- 搜索: '#searchList li;a&&title;.lazyload&&data-original;.text-muted&&Text;a&&href;.detail&&p:eq(2)&&Text',
- }
|