in reply to Re: Scraping Ajax / JS pop-up
in thread Scraping Ajax / JS pop-up
1. I read through the info on HTTP::Recorder. It seemed promising (its cool in its own right... thanks for the link), but unfortunately, it doesn't support JavaScript interactions (as mentioned there and on CPAN).
2. The problems I mentioned having with mechanizing button clicks on this page using WWW::Mechanize look to be the same for WWW::Mechanize::Firefox, which inherits from it. CPAN shows the methods for button clicks expect them to be within a form. But if I understand your suggestion, its to use the Firefox plugin (LiveHttpHeaders) to avoid any button clicks / AJAX/JS calls, and just make the equivalent http requests directly from my scrape-bot code. (?)
I'll def give it a try, but I'm disappointed that it sounds there isn't any way to do this strictly with Perl modules without needing 3rd party software to "cheat" to avoid the JS/AJAX. Seems like something should be out there to do this with Perl, as I'm certainly not the first to want to scrape such a page.
Thanks again, I'll still try your suggested work-around.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Scraping Ajax / JS pop-up
by kino (Initiate) on Feb 16, 2012 at 02:01 UTC | |
by Monk-E (Initiate) on Feb 16, 2012 at 02:50 UTC | |
|
Re^3: Scraping Ajax / JS pop-up
by Anonymous Monk on Feb 15, 2012 at 22:57 UTC | |
by Monk-E (Initiate) on Feb 15, 2012 at 23:51 UTC | |
by tangent (Parson) on Feb 16, 2012 at 00:14 UTC | |
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 | |
|