in reply to Re^3: Scraping Ajax / JS pop-up
in thread Scraping Ajax / JS pop-up
1. Yes, HTTP occurs and yes HTTP::Recorder deals with http. But the heart of the issue at hand is mechanization. Recorder does not mechanize the javascript button clicks, as mentioned in CPAN doc.
2. The intent is to do this programatically. So when I refer to needing a 3rd party browser tool to see and then mimic http of the button actions as "cheating", what I mean is that the very intention of these perl modules is to automate and handle browser interactions, including JS / clicks, robustly.
3. Now I could be misunderstanding you, completely. I am familiar with WWW::Mechanize (and some similar), but not WWW::Mechanize::Firefox, which perhaps has some kind of ability to utilize the LiveHttpHeaders plugin to do its own handling of button clicks. The way I read your suggestion is to use the firefox plugin to myself comb the logged http interactions, and then using Mechanize, etc to mimic the button click methods buy just plugging in the http I sniffed. My appologies if I'm not understanding correctly. And thanks again for the suggestions so far. I'm sure you are more experienced than I at this, so please bear with me if I'm misunderstanding.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Scraping Ajax / JS pop-up
by tangent (Parson) on Feb 16, 2012 at 00:14 UTC | |
|
Re^5: Scraping Ajax / JS pop-up
by Anonymous Monk on Feb 16, 2012 at 00:37 UTC | |
by Monk-E (Initiate) on Feb 16, 2012 at 02:43 UTC | |
by Anonymous Monk on Feb 16, 2012 at 04:06 UTC | |
by Monk-E (Initiate) on Feb 16, 2012 at 07:55 UTC | |
by Corion (Patriarch) on Feb 16, 2012 at 09:40 UTC | |
| |
by Anonymous Monk on Feb 16, 2012 at 08:58 UTC |