Skip to content

Latest commit

 

History

History
40 lines (37 loc) · 1.3 KB

README.md

File metadata and controls

40 lines (37 loc) · 1.3 KB

Script for get passport data from ESIA and the employment history

How to run this app?

  1. Create a project directory.
  2. Change into the project directory.
  3. Create virtual environment:
pip install virtualenv
virtualenv venv --python=<YOUR_PYTHON_VERSION>

For example:

virtualenv venv --python=3.7.6
  1. Activate virtual environment:
venv/Scripts/activate
  1. Install python packages into a virtual environment:
pip install -r requirements.txt
  1. Download ChromeDriver
  2. Change this line, where executable_path is directory path that contains the executable:
driver = webdriver.Chrome(executable_path=r"YOUR_PATH", chrome_options=options)
  1. Run esia.py
  2. When you’re done working on a project deactivate virtual environment:
venv/Scripts/deactivate

Passport file after run script: PassportFile

Project directory after run script: Directory