I downloaded one html-page. I need to parse one string form page, but it's behind javascripts. When i run this page in browser - all looks pretty, but in html-code i see something like this:
<script type="text/javascript">function deobfuscate_html(){s007=null;s7125=6 ... #long long string
How can I unpack this? I want to see the pretty raw, like in browser.
1 Answer 1
I would run the page in a web browser using Selenium (triggered and controlled in Python) - you can then gain access to the fully rendered page.
The chosen answer here will show you how to get the html from a rendered page.
answered Sep 29, 2012 at 12:35
Steve Mayne
23k4 gold badges53 silver badges49 bronze badges
Sign up to request clarification or add additional context in comments.
1 Comment
izen
Python 3 is not yet supported
default