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

simple url doesn't gives image #119

Closed rahulvyas closed 4 years ago

rahulvyas commented 4 years ago

I've tried youtube.com and I got only icon no image was returned in response.

canonicalUrl = "www.youtube.com";
                description = "Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.";
                finalUrl = "https://www.youtube.com/";
                icon = "https://s.ytimg.com/yts/img/favicon-vfl8qSV2F.ico";
                title = YouTube;
                url = "https://www.youtube.com";