scottwernervt / favicon

Find a website's favicon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle poor html values in links

scottwernervt opened this issue · comments

The fav icon for http://www.iposcoop.com/ has a tab \t in the filename. We should handle poor html formatting by peforming strip() on the filename.

Icon(url='https://www.iposcoop.com/wp-content/uploads/2014/02/favicon.ico\t', width=0, height=0, format='ico\t'),
Icon(url='https://www.iposcoop.com/favicon.ico', width=0, height=0, format='ico'),
Icon(url='https://www.iposcoop.com/wp-content/themes/flatsome/apple-touch-icon-precomposed.png', width=0, height=0, format='png')