Obtain javascript result

Bob Gailer bgailer at gmail.com
Fri Oct 21 10:32:39 EDT 2016


On Oct 21, 2016 9:30 AM, <eproser at gmail.com> wrote:
>
> Hello NG.
>
> I'm new in Python for fun.
>
> I have a html page (I load it by BeautifulSoap) that contain
> also this javascript code:
> ...
> <script language="javascript">
>   $(document).ready(function() {
>     matchdetails_init('rLu2Xsdi', '1x2');
>   });
> </script>
> ...
> Please, can You me to aim on the right way
> to obtain into a Python data structure
> everything that JS code give back to browser.

Not without seeing the code for matchdetails_init. Likely we'd also need to
see the page source.

What do you expect to get?



More information about the Python-list mailing list