Do you need some help for Firesrubyt ?

Subscribe to Do you need some help for Firesrubyt  ? 11 posts, 4 voices

 
Avatar glloq 7 posts

I just want to know if you want some help for the Firescrubyt Project ?

I had read on an other topic that’s you’re hadn’t enougth time do to everything. I’m not a high level ruby developper but I can work on tutorials or manual.

I’m sure that’s other people also want’s to help.

regards

 
Avatar scrubber 437 posts

Well, the problem is that I have been swamped recently, so help or not, I couldn’t move forward and I think this stae will persist a bit.

I think the best help would be if you could install the beta version, play around with it and report bugs. I know I already promised a beta version just I always forgot. Please keep asking, I’ll pack one up for sure.

 
Avatar glloq 7 posts

Ok I understand I’m agree for install the beta and test it. How do you want to proceed ? My mail is >> dgarros /a/ gmail.com

 
Avatar azeklm 1 post

Me too, if you want some testers : i give you my email :

antoine.faucher /a/ gmail.com

 
Avatar scrubber 437 posts

OK guys,

You have to install firewatir first – The instructions are here

Then download scrubyt-0.4.0 from here

Once you have these installed, the only difference you have to make is to add this to the scraper definition:

:agent => :firefox

Let me know if it works for you!

 
Avatar glloq 7 posts

I just installed scrubyt 0.4 and modified the google example for using firefox It’s work perfectly

I’m going to do more tests with more complicated web site and specialy with web site with javascript navigation I’ll going back just after

thanks a lot for this work

For interrested people to test it, just replace the first line by

google_data = Scrubyt::Extractor.define(:agent => :firefox) do

 
Avatar scrubber 437 posts

Cheers! Let me know what’s up with the other sites as well.

 
Avatar glloq 7 posts

I try to select an option in a drop down list on bwin.com and I occured some trouble. I tried different method but everything failed.

For testing, I would like to change site language with the drop down list in the bottom of the left panel

First, i used the select_option like this

bwin_data = Scrubyt::Extractor.define(:agent => :firefox) do
fetch “https://www.bwin.com/sportsbook.aspx”
select_option “ctl00$ctl25$languageDDL”,”italiano”
end

it’s works well but I occured more difficulties when option’s “text” contain special’s caracteres like “french accents”. It’s not really important.
Precision, the drop down list is linked to a javascript function for automaticaly refresh the page after selected the new language

After, I tried with the click_by_xpath methode with the same scraper than previous
I used Xpather for extract the xpath

During execution, program return : undefined method for click_by_xpath

Is it normal ?

 
Avatar scrubber 437 posts

Um, yeah, I mean it’s normal because there is a bug in your version. Please try this, 0.4.01. This should fix click_by_xpath.

 
Avatar peterv 1 post

When using FireWatir for the navigation agent (by setting :agent => :firefox in the call to Extractor.define), it seems that setting the the :agent => :firefox is not automatically repeated in the production scraper. Would it make sense to automatically apply the :agent => :firefox to the production scraper as well? I am using the 0.4.01 version mentioned above and looking at svn trunk revision 549 (the latest one, I believe). I have some initial success with simple tests with the FireWatir version (Ubuntu 7.10).

 
Avatar scrubber 437 posts

Hey guys

just going to release the firescRUBYt! (in a few days) so stay tuned!