From: cristian cristian Date: 2012-12-12T08:00:23+09:00 Subject: Mechanize problem. Hi! I rarely code but when I try I use Ruby. So this is a beginners problem :) Im trying to fetch a number from a website and im using mechanize but it seems to be impossible. Im doing this: require 'Mechanize' agent = Mechanize.new agent.get("http://www.linasmatkasse.se") agent.page.search('#counter') This div should contain a value but it doesnt. I get this in irb: [#]>] This div contains a number like 26 100 002 when looking at the website. What is it that im doing wrong? Any suggestion is appreciated! :) Br cristian -- Posted via http://www.ruby-forum.com/.