LeonardoCardoso / SwiftLinkPreview

It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
https://leocardz.com/swift-link-preview-5a9860c7756f
MIT License
1.37k stars 196 forks source link

Could you add a custom search tag? #141

Open haansplosion opened 3 years ago

haansplosion commented 3 years ago

Similar to how Weblinkpreview allows you to search for any property tag.

webLinkMetadata["image"] // String for <meta property="og:image" ...>

The above method allows for searching for any tag, which would be useful to search for things that we need.

LeonardoCardoso commented 3 years ago

Thanks for spotting this. I don't have the capacity to work on this right now. Feel free to contribute and open a PR.