I am using the following code to scrape the webpage.

button = Button.new
button.Text = 'Scrape URL'
button.Location = System::Drawing::Point.new(108,61)
button.click  do |sender,args|

  page = File.open("http://www.azamsharp.com/Default.aspx";)
  System::Windows::Forms::MessageBox.Show(page.read)

end

I get the following error message:

Invalid argument - URI formats are not supported

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to