Executing js/ajax in a sandboxed environment

Discussion in 'Python' started by Rohan Malhotra, Feb 27, 2011.

  1. 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?

    --
    Regards
    Rohan
    Rohan Malhotra, Feb 27, 2011
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Thompson
    Replies:
    1
    Views:
    332
    Andrew Thompson
    Jan 5, 2007
  2. Robin Krahl
    Replies:
    2
    Views:
    204
    Ramchandra Apte
    Oct 6, 2012
  3. Chris Angelico
    Replies:
    2
    Views:
    190
    Chris Angelico
    Oct 6, 2012
  4. Mark Lawrence
    Replies:
    0
    Views:
    165
    Mark Lawrence
    Oct 6, 2012
  5. Rodrick Brown
    Replies:
    0
    Views:
    168
    Rodrick Brown
    Oct 6, 2012
Loading...

Share This Page