There are basically two main options:
- using the browser developer tools, see which ajax requests will load the page and simulate them in your script, you probably have to use the json module to load the json response string into the python data structure.
- Use tools like selenium that open a real browser. The browser can also be "headless", see Mute Selenium Testing with Python and PhantomJS
The first option is more difficult to implement, and it is, generally speaking, more fragile, but it does not require a real browser and can be faster.
, , , , . Selenium - BeautifulSoup . , , .
, .