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

fix hcard when parsing friend photo

parent f26dc039
Branches
Tags
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.
Please register or to comment