Created
September 8, 2008 09:55
-
-
Save mytrile/9405 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 'rubygems' | |
require 'mechanize' | |
agent = WWW::Mechanize.new | |
page = agent.get('http://google.com/') | |
myfile = File.new('links.txt', 'w+') | |
page.links.each do |link| | |
myfile.puts(link.text) | |
end |
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
»ÁÓ·‡ÊÂÌˡ | |
√ÛÔË | |
¡ÎÓ„Ó‚Â | |
ƒËÂÍÚÓˡ | |
Gmail | |
Ӣ ‚ñº | |
‡ÎẨ‡ | |
—ÌËÏÍË | |
ƒÓÍÛÏÂÌÚË | |
iGoogle | |
¬ıÓ‰ | |
–‡Á¯ËÂÌÓ Ú˙ÒÂÌ | |
œÂ‰ÔÓ˜ËÚ‡Ìˡ | |
≈ÁËÍÓ‚Ë Ì‡ÒÚÓÈÍË | |
–ÂÍ·Ï̇ œÓ„‡Ï‡ | |
¬Ò˘ÍÓ Á‡ Google | |
Google.com in English | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment