extractus / article-extractor

To extract main article from given URL with Node.js

Home Page:https://extractor-demos.pages.dev/article-extractor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set the rule of extracting picture when the default extraction algorithm can't get it?

MJRT opened this issue · comments

@MJRT By default, this lib tries to get the main image from meta tags. If not found, it will leave blank.
The transformation rules are only applied for article content, not main image. So you may need to do that with your own logic.