Get document from Javascript HREFS

Posted by Jojo on Stack Overflow See other posts from Stack Overflow or by Jojo
Published on 2010-03-18T05:29:26Z Indexed on 2010/03/18 5:41 UTC
Read the original article Hit count: 165

Filed under:
|

Hello Everyone,

I am currently designing a focused webcrawler. I have it tested with some websites until i encountered below anchor ("the <a href="...">):

href="javascript: openDocument('DATA//PCP200803.pdf');"

My html parsing routine results to

javascript: openDocument('DATA//PCP200803.pdf');

Does anyone have any idea on how to download the referenced document?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about anchor-tag