flyerhq / flutter_link_previewer

Customizable link and URL preview extracted from the provided text with the ability to render from the cache. Ideal for chat applications.
MIT License
72 stars 75 forks source link

Add option to specify user agent for link crawling #43

Closed felixgabler closed 2 years ago

felixgabler commented 2 years ago

I will follow this up with a PR in the chat repository to use the user agent "WhatsApp/2" by default. This is because many dynamic links and other link previews serve specific social media tags for this user agent. For example, Signal also uses this user agent to crawl their link preview data.

demchenkoalex commented 2 years ago

Thanks for the PR!