[wtr-general] code prematurely ending.

2009-01-20 Thread Bissquitt
for some reason my code is ending prematurly and I cant figure out why. It happens every time it hits a certain part of the page I'm parsing, but that part has the same format as all the others. Any clue why this is happening? (page source can be found in the url in the code thats not commented)

[wtr-general] Re: IE hoging memory

2009-01-13 Thread Bissquitt
I did find one answer a few pages back but they involved closing IE On Jan 13, 2:47 pm, Bissquitt wrote: > So im running a script that goes to MANY webpages and I noticed that > each web page it goes to it still stores the information so that I can > go "back" causing the IE

[wtr-general] IE hoging memory

2009-01-13 Thread Bissquitt
So im running a script that goes to MANY webpages and I noticed that each web page it goes to it still stores the information so that I can go "back" causing the IE process to take up slightly more memory each page it goes to. Is there a solution to this that doesn't require me to close the browse

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-09 Thread Bissquitt
locate the element. > > -c > > > > On Fri, Jan 9, 2009 at 10:38 AM, Bissquitt wrote: > > > anyone have any idea why this isnt working? (or should I be making a > > new topic for this?) > > > for x in 0..2 do > >                  for y in 0..9 do &g

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-09 Thread Bissquitt
. The only thing I can think of is that its trying to call the above with numstring = to 03, not finding it on the page and crashing. however thats what the If is there to prevent. Any ideas or tips? On Jan 4, 10:06 am, Bissquitt wrote: > ok thank you all so much. I got the majority of the

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-04 Thread Bissquitt
ry in gems. > > Ruby comes with a few documentation systems: ri and rdoc. For the gems you > have installed locally you can see all of the rdocs by going to the command > line, type: > gem server > Then browse tohttp://localhost:8808 > ri can also be used from the command lin

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Bissquitt
ng example using hpricot and regexs to find book information - > ISBN, price, etc. > > Scrubyt is another library for screen scraping which internally uses either > Firewatir or Mechanize, here's a link to some > examples:http://wiki.scrubyt.org/index.php?title=Tutorials > >

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Bissquitt
;sp...@id='rptCourses_ctl00_rptItems_ctl\d \d_lblItemTxtTitle']").inner_text worksheet.Cells(row, 'f').value = a else contLoop = false end row += 1 sleep 1 end On Jan 3, 8:32 am, Bissquitt wrote: > Granted I am new to Watir and ruby

[wtr-general] Pulling hair out on screen scraping

2009-01-03 Thread Bissquitt
Granted I am new to Watir and ruby in general but I do have a background of programming. My brief experience has been that watir and ruby are awesome but VERY poorly documented, which is odd concidering the massive amount of web pages dedicated to it. anyway, here is the issue I am having. I am