link-preview
link-preview copied to clipboard
Add timeout when reading sites
Some sites (e.g. https://www.superdrug.com in my case) hang the HTTP request and don't return in a reasonable time. Perhaps this is some anti-DoS measure.
This PR adds a simplistic 30s fallback timer to avoid the code hanging indefinitely.