Skip to content

Question regarding title extraction #770

@unsleepy22

Description

@unsleepy22

In metadata.py and related tests I see that title wrapped in h1 in the body is preferred even when a non-empty title exists in meta head, this should be intentional right? In some cases this may produce bad case, like https://mozi.ustc.edu.cn/detail/1106, is it possible to compare the length of h1 title and head title to choose the longer one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions