Created
November 15, 2011 00:24
-
-
Save JakeAustwick/1365681 to your computer and use it in GitHub Desktop.
This file contains 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
require 'gscraper' | |
q = GScraper::Search.query( :query => 'github') do |q| | |
end | |
page = q.page(1) | |
page.each_url do |url| | |
puts url | |
end | |
Output: | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ | |
https://github.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment