On Thu, Dec 2, 2010 at 12:19 PM, Sofie Willander <sofiewil / kth.se> wrote:

> Hi,
>
> I've been googleing for over a week now, but I can't find out how to
> screen scrape an aspx-site with Mechanize (and I must use mechanize).
>
> The site (https://portal.if.se/kopforsakring/ProductList.aspx?linkID=3D4)
> contains a button with the text "Bil" that I want to click, and after
> that click the continue button (green one with the text "Forts=E4tt").
>
> I've tried using Firebug to find viewstate, but I don't know what to do
> with it once I've found it.
>
> Am I one the right track?
> Can anybody help me?
>

You should watch Ryan Bates's excellent screencast on scraping data with
Mechanize:

http://railscasts.com/episodes/191-mechanize


>
> --
> Posted via http://www.ruby-forum.com/.
>