good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Scraping HTML: orthodoxy and realityby BrowserUk (Patriarch) |
on Jul 09, 2003 at 03:35 UTC ( [id://272557]=note: print w/replies, xml ) | Need Help?? |
You could probably automate the C&P from your favorite browser (under Win32 at least) or use one of the console browsers (Lynx etc.) under *nix. The question is, what would you have achieved. Not only would you have used a parser (the one builtin to the browser), but you would have also used its rendering engine, spawned a new process and gone through some form of IPC whether its a pipe or clipboard. And you would still need to apply a regex to the result. If your going to use a parser, then you mught as well use one of the many available to you via CPAN and avoid all that additional overhead:) Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
In Section
Meditations
|
|