Skip to content

Selenium proxy to bypass the anti-scrapping protection of Legifrance

Notifications You must be signed in to change notification settings

regardscitoyens/legifrance-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

legifrance-proxy

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

Installation

pip install -r requirements.txt
sudo apt install chromium chromium-driver

Usage

Launching the server

python app.py

Requesting a page

http://0.0.0.0:8081/<path>?<args>
ex: http://0.0.0.0:8081/liste/legislatures

About

Selenium proxy to bypass the anti-scrapping protection of Legifrance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages