in reply to Re: Screen scraping complex tables and divs (updated)
in thread Screen scraping complex tables and divs
I am confused now too. Are you saying WWW::Mechanize supports CSS selector and XPath? Or that WWW::Mechanize::Firefox does? If the latter, I also read it was very difficult to build.
Query syntax is not a Perl question, but there are plenty of good tutorials online.I agree. However, determining how best to query HTML source via Perl is.
The option of mirroring the DOM into a Perl/XML data structure and using the query API sounds quite good. I'll give that a go and see how it works. Anything is better than parsing table tags with TokParser.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Screen scraping complex tables and divs (updated)
by Corion (Patriarch) on Oct 14, 2017 at 06:44 UTC | |
|
Re^3: Screen scraping complex tables and divs
by LanX (Saint) on Oct 13, 2017 at 21:53 UTC | |
|
Re^3: Screen scraping complex tables and divs (Firepath)
by LanX (Saint) on Oct 14, 2017 at 22:43 UTC | |
by parser (Acolyte) on Oct 17, 2017 at 16:45 UTC |