Y
Hacker News
new
|
ask
|
show
|
jobs
by
swyx
503 days ago
how did you match the images to the news?
1 comments
vuciv
503 days ago
Actually, I kept it simple - I use the original images from the news articles! When I fetch an article through RSS and extract its content using the @extractus/article-extractor library, it pulls the main image along with the content.
https://github.com/extractus/article-extractor
link
https://github.com/extractus/article-extractor