Displaying 1 result from an estimated 1 matches for "todaylight".
Did you mean:
daylight
2007 Nov 12
3
Weird error downloading a gzip''ed file
...l urls, and tested it by hand while logged in
via browser.
Even in the script everything works well until the last ''agent.get_file'',
which gets stuck with a weird error:
------ snip ------
$ ruby msn-scrap.rb
#<URI::HTTP:0xfdbc850b8 URL:
http://by124w.bay124.mail.live.com/mail/TodayLight.aspx?&n=1573603203&gs=true
>
"http://by124w.bay124.mail.live.com/mail/GetContacts.aspx"
Err: unexpected end of file
Trace:
/usr/lib/ruby/1.8/mechanize.rb:372:in `read''
/usr/lib/ruby/1.8/mechanize.rb:372:in `fetch_page''
/usr/lib/ruby/1.8/net/http.rb:1050:in `re...