Executing js/ajax in a sandboxed environment

R

Rohan Malhotra

I need to parse a url for it's content in python. I want to execute
all js of html page associated with the url and then parse for the
content so that javascript induced changes in content are also
present. I was wondering if there is a way to execute js associated in
page in sandbox environment before I start parsing it.

BeautifulSoup library only fetches source of page. I need the access
to DOM after js execution with url as input parameter.

Any pointers?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top