Question regarding title extraction
Author: unsleepy22Created Dec 16, 2024Updated Dec 18, 2024
Labelsquestion
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?
Source: adbar/trafilatura