fix amazon onebox to pull images again

This commit is contained in:
Jeff Atwood 2013-10-04 03:39:55 -07:00
parent 2b69f70775
commit 2a97dbbb1f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ module Oneboxer
result[:title] = html_doc.at("h1")
result[:title] = result[:title].inner_html if result[:title].present?
image = html_doc.at(".main-image img")
image = html_doc.at(".a-image-wrapper img")
result[:image] = image['src'] if image
result[:by_info] = html_doc.at("#by-line")