Commit 5ca97b87 by Huỳnh Thiên Phước

Merge branch 'master' into 'industry_list'

# Conflicts:
#   app/controllers/cities_controller.rb
#   app/models/city.rb
#   lib/src/csv_importer.rb
parents a8e034a4 784ae619
Pipeline #848 failed with stages
in 0 seconds
......@@ -15,6 +15,7 @@ class JobParser
links = info.css('div.caption a.company-name').map { |link| link['href'] }
links.each do |link|
next if link == 'javascript:void(0);'
page = Nokogiri::HTML(URI.open(URI.escape(link)))
name = page.search('p.name')&.text
next if name.blank?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment