If you need to execute JavaScript on the Page, you can look for https://selenium-python.readthedocs.io/
This runs a browser session (Firefox, Chrome or other) and you have control over this session.
If you just want to grab content from a page without this dedicated browser session, you should look for requests and Requests-HTML (also JS support).
Another library which is built on top of html.parser/lxml is BeautifulSoup 4, which is a little bit tricky to handle.
EDIT: I used one minute ago requests_html to download something from a web page on my server, where a login is required. This library is very cool. It worked directly :-)
This runs a browser session (Firefox, Chrome or other) and you have control over this session.
If you just want to grab content from a page without this dedicated browser session, you should look for requests and Requests-HTML (also JS support).
Another library which is built on top of html.parser/lxml is BeautifulSoup 4, which is a little bit tricky to handle.
EDIT: I used one minute ago requests_html to download something from a web page on my server, where a login is required. This library is very cool. It worked directly :-)
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!