urllib2.urlopen("http://www.someURL.com/pageTracker.html").read();
The code above will return the source HTML at http://www.google.com.
What do I need to do to actually return the rendered HTML that you see when you visit google.com? I essentially trying to 'execute' a URL to trigger a view, not retrieve the HTML.
To clarify a few things:
- I'm not actually concerned about the visual output of the page
- I'm concerned about the page rendering as it would inside of a proper browser so that I can track a Google Analytics goal via the JavaScript on that page.