Re: How to take the true name of the site from the URL
I'm not 100% sure on this, but I believe every website uses favicon.ico, so all you would need to do is check if that exists. Also, if your regular expression finds more than one match, your expected match might not be index one.
|