Skip to content
Snippets Groups Projects
Commit e7f84f54 authored by maxwell's avatar maxwell
Browse files

fix hcard when parsing friend photo

parent f26dc039
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ module HCard
{:given_name => doc.css(".given_name").text,
:family_name => doc.css(".family_name").text,
:url => doc.css("#pod_location").text,
:photo => doc.css(".photo[src]").text}
:photo => doc.css(".photo[src]").attribute('src').text }
end
def self.find url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment