ruby - How do I parse HTML data loaded via an Ajax response? -
i click on link, , sends ajax request populates page. here link parsing:
http://dell.force.com/partner/spf__partnersearch?c=us&l=en_us
on page search link. when click on without filling form displayed , sends ajax request , populates section below content.
how read mechanize? not able find accurate answer.
mechanize not execute javascript need use different approach. 1 way use so-called headless browser, example watir in combination headless
gem or phantomjs poltergeist ruby bindings.
Comments
Post a Comment