/ Published in: Ruby
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
hpricot.at("/html/head/link[@rel='shorcut icon']").get_attribute('href')
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
hpricot.at("/html/head/link[@rel='shorcut icon']").get_attribute('href')