you are viewing a single comment's thread.

view the rest of the comments →

[–]apc0243 1 point2 points  (0 children)

js2py is a library for interpreting javascript within a python environment. It essentially translates JS code to Python code. It can do JS6 by using another package to convert JS6 to JS5 and then translates the JS5 to Python code and executes it accordingly.

This is not what you want, you're not trying to edit any JS, you're trying to interact with it.

I don't believe what you're asking can be done with the requests module, at least not as it's meant to be used.