philip at semanchuk.com
Sun Oct 12 16:28:17 CEST 2008
On Oct 12, 2008, at 5:25 AM, S.Selvam Siva wrote:
> I have to do a parsing on webpagesand fetch urls.My problem is ,many
> urls i
> (onload()).How to fetch those links from python? Thanks in advance.
You can try to find them yourself using string parsing, but that's
difficult. The closer you want to get to "perfect" at finding URLs
expressed in JS, the closer you'll get to rewriting a JS interpreter.
For instance, this is not so hard to understand:
but this is:
This is a long-standing problem for any program that parses Web pages.
You either have to embed a JS interpreter in your application or just
More information about the Python-list