Tested in python 3.8
To parse the html:
pip install BeautifulSoup4
To draw the svg:
pip install drawSvg
drawSvg dependencies need gtk+
To navigate the website programmatically:
pip install selenium
selenium needs chromedriver
To transform to pdf:
pip install svglib
To merge pdfs:
pip install pypdf2