This repository was archived by the owner on Aug 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 95
Equal parts of article #92
Copy link
Copy link
Open
Description
Example article: https://www.fleetfeet.com/blog/shoe-review-nike-air-zoom-pegasus-36
The problem is, that it's detecting as main content only one part of the article started with "Nike Pegasus 36 Ride and Performance". Other parts of the article is ommited. StripUnlikelyCandidates has no effect at all. Also image/main image is not detected, always null, not only for this case, but i tried 100+ articles and image is always null.
Is it possible to detect the full article, not just part of it ?
try {
$readability = new Readability(new Configuration([
'StripUnlikelyCandidates' => false
]));
$readability->parse($this->html);
return $readability;
} catch (\Exception $exception) {
throw new \Exception($exception->getMessage());
}
Metadata
Metadata
Assignees
Labels
No labels