From: Mike Dalessio Date: 2010-12-03T05:16:08+09:00 Subject: Re: Screen scraping an aspx site with Mechanize --90e6ba476b057c102d049673176a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Dec 2, 2010 at 12:19 PM, Sofie Willander 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/. > --90e6ba476b057c102d049673176a--