lib/html2rss/item_extractors.rb in html2rss-0.8.1 vs lib/html2rss/item_extractors.rb in html2rss-0.8.2
- old
+ new
@@ -13,10 +13,10 @@
end
##
# @return [Nokogiri::XML::Element]
def self.element(xml, options)
- selector = options['selector']
+ selector = options[:selector]
selector ? xml.css(selector) : xml
end
end
end