Open rb2k opened 14 years ago
same for http://pokerstarpro.net/robots.txt
User-agent: *
Disallow: /site/
Disallow: /common/forsale/
Disallow: /common/roar/redir
Disallow: /common/roar/results.htm
Disallow: /common/advertise/advertising.htm
User-Agent: MJ12bot
Disallow: /
User-agent: ShopWiki
Disallow: /
ok, seems that the different capitalization in User-Agent (User-agent) might be killing the parser
This is what I do: ruby-head > bla = Robots.new("test") => #<Robots:0x000001008743c0 @user_agent="test", @parsed={}> ruby-head > bla.allowed?("http://lacostarecords.net/") => false
This is the robots.txt
Block a bot that was causing issues by ignoring Disallow lines below
it should return true, shouldn't it?