open digg.com time-out

with
require 'open-uri'

I get a time-out error for:

open("http://www.digg.com")

and any other digg.com pages (like for http://digg.com/rss/index.xml)

If I use any other url everything works fine. (and http://www.digg.com
is available in the browser)

Any idea?

Thanks

The other day I noticed the same, but using the curb bindings for libcurl.

The connection just hangs. It's good to know this isn't a curb bug, at least!

jeremy

I found it:

just use

open(url.to_s, "User-Agent" => "Mozilla/4.0 (compatible; MSIE 7.0;
Windows NT 6.0)" )

probably they reject requests without an User-Agent...