<參考> Crawling AJAX
Shreeraj Shah's paper, Crawling Ajax-driven Web 2.0 Applications, does a nice job of
describing the "event-driven" approach to web crawling.
It has following three key components
1. Javascript analysis and interpretation with linking to Ajax
2. DOM event handling and dispatching
3. Dynamic DOM content extraction
The easiest way to implement an AJAX-enabled, event-driven crawler is to use Watir and
Crowbar, that will allow you to control Firefox or IE from code, allowing you to extract
page data after it has processed any Javascript.