Created
August 12, 2013 10:36
-
-
Save Jamedjo/6209799 to your computer and use it in GitHub Desktop.
Developer Fusion scraper: ruby UK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'nokogiri' | |
require 'open-uri' | |
require 'debugger' | |
require 'cgi' | |
url = "http://www.developerfusion.com/t/ruby/jobs/" | |
puts url | |
doc = Nokogiri::HTML(open(url)) | |
# debugger | |
doc.css('.list-items h4').map{|l| l.content}.select{|h| h.match(/United Kingdom/)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment