fix hcard when parsing friend photo
This commit is contained in:
parent
f26dc039c9
commit
e7f84f5434
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ module HCard
|
||||||
{:given_name => doc.css(".given_name").text,
|
{:given_name => doc.css(".given_name").text,
|
||||||
:family_name => doc.css(".family_name").text,
|
:family_name => doc.css(".family_name").text,
|
||||||
:url => doc.css("#pod_location").text,
|
:url => doc.css("#pod_location").text,
|
||||||
:photo => doc.css(".photo[src]").text}
|
:photo => doc.css(".photo[src]").attribute('src').text }
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.find url
|
def self.find url
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue