Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问不支持一级标题吗? #3

Open
richex-cn opened this issue Aug 30, 2022 · 1 comment
Open

请问不支持一级标题吗? #3

richex-cn opened this issue Aug 30, 2022 · 1 comment

Comments

@richex-cn
Copy link

比如这个插件的 Release 页面显示没有数据。

image

@Whilconn
Copy link
Owner

比如这个插件的 Release 页面显示没有数据。

image

在最新版v1.1.0中已经支持了一级标题,没解析出来是因为这个 H1display: inline ,间接导致 scrollWidth 为 0,两个条件都会被提取逻辑判定为非法;即使这里改了,后面的分组逻辑又会被底下那个 H3Assets 搅乱导致提取不到元素。

目录提取逻辑比较复杂,很难做到完美匹配所有网站。上一版太宽松导致提取出很多干扰元素,这一版太苛刻又导致提取不到元素,真是艰难啊。

后续考虑增加一个提取宽容度的开关,由用户自行决定是宽松还是严谨。

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

No branches or pull requests

2 participants