Lurker News

Comments (152) 59 threads

Earlier comments
chejazi#
As a developer of a URL shortening service, this is incredibly useful. Social platforms scrape the contents of all shared URLs to offer a preview in a feed. With this service I can incorporate the logo of a site's destination URL into the scraped content.
MichaelGG1 reply#
That's because Exxon specified that image. Check the HTML on exxon.com:

imissmyjuno#
That doesn't change the fact that it's a false positive…
sanbor1 reply#
I'd be cool if they would provide some insight on how to make an existing website to work with their API. I always wanted to know what's the "standard" way to put a logo in the webpage. Some people uses just an IMG tag, other uses an H1 with an image replacement technique.
Judson1 reply#
Looks like they're just returning the apple-touch-icon if it's available.
psychometry1 reply#
In my case they're returning an old version of the icon.
chinathrow#
Same here. Any way to trigger a refresh?
thesimon#
Worked on something similar on a local open data hackathon before, but instead I used a scraper to parse the logos.

https://github.com/c0dr/LogoParser
It worked okay for like 40% of the sites, and for the rest of the sites we used Python and scikit-learn to detect the logo from the page (threw all images of the page in the script and it returned if it was a logo or not). And this actually worked quite good, irrc over 90% of the test cases worked.
https://github.com/tomsrocket/image-classification
But yeah, using Twitter as a source might also be a good idea.

Load more comments