Skip to content

Instantly share code, notes, and snippets.

@foxtacles
Created June 18, 2013 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foxtacles/5806213 to your computer and use it in GitHub Desktop.
Save foxtacles/5806213 to your computer and use it in GitHub Desktop.
systems = {"bedundmore.de" => "Gambio", "closed.de" => "OXID", "schuhxl.de" => "Plentymarkets", "skapetze.com" => "xt:Commerce", "shop.ear-band-it.de" => "Afterbuy", "gadsumo.de" => "Magento", "musterbrand.com" => "Shopware", "kern-sohn.com" => "Cosmoshop", "ubercartdemo.com" => "Ubercart", "dirtyshirty.com" => "PrestaShop", "liftstation.eu" => "JTL Shop", "outdoorbilliger.de" => "XANARIO", "flairie.de" => "Smartstore"}
systems.each do |k,v|
scraper = ShopsystemScraper.new(:website_url => k)
scraper.run
if scraper.shopsystem != v
puts v
puts scraper.shopsystem
render nothing: true, status: 422
return
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment