Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Hpricot problems
Dean Kassmann
2/20/2007 10:57:00 PM
Has anyone successfully used Hpricot call multiple pages in the same
ruby script:
# begin code
require 'hpricot'
require 'open-uri'
url = "
http://ibm...
N = 5
page = nil
for counter in (0..N)
puts counter.to_s() + "> checking " + url
page = Hpricot( open( url ) )
sleep(2)
end
# end code
I end up with the following error:
>ruby test.rb
0> checking
http...
1> checking
http...
2> checking
http...
3> checking
http...
c:/ruby/lib/ruby/gems/1.8/gems/hpricot-0.5-mswin32/lib/hpricot/parse.rb:44:
[BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Any pointers?
1 Answer
The Peeler
2/23/2013 8:27:00 PM
0
On Sat, 23 Feb 2013 12:05:10 -0800, my personal traumatized little idiot,
now posting as FAKE Moose in Love, wrote:
> ...
Are those your three remaining brain cells you are posting there, poor
autistic idiot? LOL
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Hpricot problems
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password