3 ms·
Ask HN: Reliable scraper service that returns title, image, blurb for given url?
I would like to show relevant information like: primary image, title, blurb, video embed, etc., for links my users submit - similar to how chat services like WhatsApp, Messenger, etc., do when a url is pasted into the chat.
Are there any reliable services that provide this?
- nyuszika7h 7y agoThese chat services usually extract the info from OpenGraph tags: https://ogp.me/ https://ogp.me/
- buboard 7y agoI m not sure how doable it is to do it reliably. Some services, e.g. cloudflare block scrapers like cURL and redirect to a captcha page or enable javascript "Attention Required" page . It seems owners of these sites need to explicitly enable the scraper by IP! This pretty much precludes a link previewer from working reliably, and cloudflare is used by A LOT of sites these days https://support.cloudflare.com/hc/en-us/articles/217720788-Troubleshooting-issues-sharing-to-Facebook https://support.cloudflare.com/hc/en-us/articles/217720788-T...
- flipetty 7y agohave you tried https://proxycrawl.com https://proxycrawl.com
- lomutinaci 7y agoI found one which works most of the time and helps specially with the captchas, have you tried proxycrawl?