buenas noches Ejecuto una consulta en una página web, luego obtengo la URL del resultado. Si hago clic derecho en ver fuente html, puedo ver el código html generado por JS
getPageSource attempts to retrieve the HTML as it was supplied by the server when the page was first visited. If the page then generates new HTML from JavaScript, it will not be part of the original HTML since it was not supplied by the server.
To view current, rendered HTML, use the DevTools Inspector:
I run a query in one web page, then I get result url. If I right click see html source, I can see the html code generated by JS. If I simply use urllib, python cannot get the JS code.
I run a query in one web page, then I get result url. If I right click see html source, I can see the html code generated by JS. If I simply use urllib, python cannot get the JS code.