Selenium proxy to bypass the anti-scrapping protection of Legifrance
More precisely, given a request to legifrance, this script will launch an headless browser via Selenium to do the request in a real browser and return the HTML
pip install -r requirements.txt
sudo apt install chromium chromium-driver
python app.py
http://0.0.0.0:8081/<path>?<args>
ex: http://0.0.0.0:8081/liste/legislatures