krthush / link-preview

An API for getting near perfect link preview data - works for Node.js enviroments.
https://favorited-link-preview.herokuapp.com/
MIT License
44 stars 20 forks source link

Demo not working #6

Closed santiagopuentep closed 6 months ago

santiagopuentep commented 6 months ago

The demo fails to return any results, showing a 503 (Service Unavailable) error.

santiagopuentep commented 6 months ago

Running on localhost throws "Request failed with status code 400".

santiagopuentep commented 6 months ago

I added http:// to the URL in localhost and it worked (no more 400), the online demo is still failing.

krthush commented 6 months ago

should be fixed now with the recent commits, at least there shouldnt be any more crashes and the project should run fine - but I do think the stealth package we use here https://www.npmjs.com/package/puppeteer-extra-plugin-stealth is now outdated so performance of getting link previews not as good any more

krthush commented 6 months ago

@santiagopuentep feel free to look at #7 if you'd like to improve the results!