I think it's important to give the full URL to the favicon. Because if the favicon is in the same server with the main website favicon scrapper returns path to us.
For example.
It was before:
el = LinkThumbnailer.generate('https://www.cornmarket.ie/', attributes: [:favicon])
el.favicon
>> "/images/favicon/favicon-16x16.png"
It is after:
el = LinkThumbnailer.generate('https://www.cornmarket.ie/', attributes: [:favicon])
el.favicon
>> "https://www.cornmarket.ie/images/favicon/favicon-16x16.png"
I think it's important to give the full URL to the favicon. Because if the favicon is in the same server with the main website favicon scrapper returns path to us. For example. It was before:
It is after: