mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
fix amazon onebox to pull images again
This commit is contained in:
parent
2b69f70775
commit
2a97dbbb1f
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue