This commit is contained in:
r888888888
2017-06-27 14:46:14 -07:00
parent a9f15cd862
commit 610e2bdedd
2 changed files with 13 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class TwitterService
elsif resp.is_a?(Net::HTTPSuccess)
doc = Nokogiri::HTML(resp.body)
images = doc.css("meta[property='og:image']")
return images.first.attr("content")
return images.first.attr("content").sub(":large", ":orig")
end
end
end