Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env ruby
- require 'rubygems'
- require 'nokogiri'
- require 'httpclient'
- httpc = HTTPClient.new
- html = httpc.get_content('http://animexx.onlinewelten.com')
- page = Nokogiri::HTML( html )
- page.css('a').each do |link|
- puts link['href']
- end
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement