lib/nicoquery/object_mapper/getthumbinfo.rb in nicoquery-0.1.8.3 vs lib/nicoquery/object_mapper/getthumbinfo.rb in nicoquery-0.1.8.4

- old
+ new

@@ -134,10 +134,10 @@ @hash['no_live_play'] == 1 end def tags return nil if @hash.nil? || @hash['tags'].nil? - xml = @xml.scan(/\<tags domain=\"jp\">\n.+\n\<\/tags\>/m)[0] + xml = @xml.scan(/\<tags domain=\"jp\">\n.+\<\/tags\>/m)[0] parsed = Nokogiri::XML xml parsed.xpath("//tag").map do |tag_object| generate_tag_hash_by tag_object end end \ No newline at end of file