trying to use this udf
http://www.autoitscript.com/forum/topic/124330-htmlau3-v101/page__hl__%2Bfavicon
but the _HTML_Get() function is almost always returning an empty string. Especially if the link is in a sub domain(?)
I'm horrible at regexp so I'm not sure how it's searching to fix the problem. Or maybe there is a better way to get the full path to a favicon?
http://www.autoitscript.com/forum/topic/124330-htmlau3-v101/page__hl__%2Bfavicon
but the _HTML_Get() function is almost always returning an empty string. Especially if the link is in a sub domain(?)
I'm horrible at regexp so I'm not sure how it's searching to fix the problem. Or maybe there is a better way to get the full path to a favicon?
[ autoit ]
#include <_html.au3> Local $url[3] $url[0] = "[url="http://www.autoitscript.com/autoit3/index.shtml"]http://www.autoitscript.com/autoit3/index.shtml[/url]" $url[1] = "[url="http://www.imdb.com/"]http://www.imdb.com/[/url]" $url[2] = "[url="http://www.homedepot.com/Doors-Windows-Doors-Entry-Doors-Screen-Doors/h_d1/N-5yc1vZbaed/h_d2/Navigation?catalogId=10053&Nu=P_PARENT_ID&langId=-1&storeId=10051¤tPLP=true&omni=c_Screen"]http://www.homedepot.com/Doors-Windows-Doors-Entry-Doors-Screen-Doors/h_d1/N-5yc1vZbaed/h_d2/Navigation?catalogId=10053&Nu=P_PARENT_ID&langId=-1&storeId=10051¤tPLP=true&omni=c_Screen[/url] Doors&searchNav=true" For $i = 0 to UBound($url)-1 $sHTML = _HTML_GetSource($url[$i]) $sIconURL = _HTML_Get($sHTML, "link", "href", "image/x-icon", "type") MsgBox(0,$url[$i],$sIconURL) Next