lib/comix_scraper/parser.rb in comix_scraper-1.0.0 vs lib/comix_scraper/parser.rb in comix_scraper-2.0.0
- old
+ new
@@ -21,11 +21,12 @@
title = values[1]
rrp = values[2]
release_data.comix << Comic.new(current_section, id, title, rrp)
}
- puts "Shipping date: #{data[2].split}"
- release_data.shipping_date = data[2].split[1]
+ shipping_date_data = data[0]
+ puts "Shipping date: #{shipping_date_data}"
+ release_data.shipping_date = shipping_date_data.split[3]
return release_data
end
\ No newline at end of file