in reply to Parsing AJAX-based website
If you're lucky you'll find that underneath the glitzy AJAX there's a relatively simple protocol - the browser POSTs some data (user/pass) and gets back some JSON or XML indicating the result (login succeeded or failed). You can then use WWW::Mechanize to imitate that protocol and extract the info you need. If the site authors did a good job this can actually be easier than scraping an HTML page.
Good luck!
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing AJAX-based website
by Anonymous Monk on Feb 25, 2013 at 12:48 UTC | |
by marto (Cardinal) on Feb 25, 2013 at 12:52 UTC | |
by tmharish (Friar) on Feb 25, 2013 at 12:52 UTC |