Alexandru Topliceanu
unread,Jan 4, 2011, 1:06:07 PM1/4/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
Hi,
I'm building a crawler using node, jsdom and node-crawler.
I want to use jsdom's jQueryify method after the html has been fed to
jsdom.
This fails because js scripts( and inline code, like events, too )
inside the fetched page issue errors and exceptions.
Not to mention, this is a big security issue.
I have build a small hacklet into node-crawler to strip all js from
the retrieved html before jquerying it, but i feel this is not an
elegant solution.
Any thoughts on this?
Thank you,
Alex
PS. Sorry if i'm posting this on the wrong place ;D