Crawling actual map *names*, but not yet pulling in maps
This commit is contained in:
6
rails/map-mash/lib/tasks/maps.rake
Normal file
6
rails/map-mash/lib/tasks/maps.rake
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace :maps do
|
||||
desc 'Index the maps!'
|
||||
task :index => :environment do
|
||||
MapCrawler.new(Setting.map(:base_url)).crawl(Map.method(:from_city_name))
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user