8000 请教下没有详情页的网站,二级要怎么才能继承一级的标题和图片 · Issue #18 · hjdhnx/dr_py · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

请教下没有详情页的网站,二级要怎么才能继承一级的标题和图片 #18

Open
a6680 opened this issue Jun 16, 2023 · 3 comments

Comments

@a6680
Copy link
a6680 commented Jun 16, 2023

下面是我写好了的,但是二级的标题和图片有问题,跪求写法。
另外,项目中的Auete源也有问题,使用的写法 tab_text":"h2--span&&Text", 会出现个别资源获取不到播放源和集数,原播放源标题太长了,站长换了新域名 https://auete.art/ 挂梯打不开

var rule = {
    title:'人人影视',
    host:'https://www.renren.pro',
    homeUrl:'/',
    url:'/list/fyclass?page=fypage',
    searchUrl:'/search?wd=**',
    headers:{'User-Agent':'MOBILE_UA'},
    timeout:5000,
    class_name:'影视库',
    class_url:'all',
    play_parse:true,
    limit:6,
    double:true,
    推荐:'*',
    一级:'.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
    二级:{
        "title":".thesis-wrap&&Text;.video-info-aux&&a&&Text",
        "img":"",
        "desc":";.video-info-aux&&a:eq(2)&&Text;.video-info-aux&&a:eq(1)&&Text;",
        "content":".title-info&&Text",
        "tabs":"js:TABS=['在线播放']",
        "lists":".module-blocklist&&a"
    },
    搜索:'.module-items&&.module-search-item;h3&&Text;.lazyload&&data-src;.video-serial&&Text;a&&href',
}
@hjdhnx
Copy link
Owner
hjdhnx commented Jun 16, 2023

,就行了。具体搜索查看二级规则是一个

@hjdhnx
Copy link
Owner
hjdhnx commented Jun 16, 2023

跟推荐一样

@a6680
Copy link
Author
a6680 commented Jun 17, 2023

跟推荐一样

二级:'*', 是这样填吗,可是这样的话就获取不到集数和简介了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0