lib/scrap_kit/recipe.rb in scrap_kit-0.1.15 vs lib/scrap_kit/recipe.rb in scrap_kit-0.1.16

- old
+ new

@@ -94,9 +94,11 @@ return nil unless element.exists? if element&.respond_to?(:tag_name) if element.tag_name.downcase == "input" return element.attribute_value(:value) + elsif element.tag_name.downcase == "img" + return element.attribute_value(:src) end end element&.text_content end