Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardopaltrinieri committed Sep 8, 2020
1 parent 19a4140 commit 42580da
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,36 @@ iniscrapec uses a number of open source projects to work properly:

And iniscrapec itself is open source with a [public repository](https://github.com/riccardopaltrinieri/iniscrapec)
on GitHub.

Also it uses a third part service to solve the reCaptcha "I am not a robot"

* [[2captcha]](https://2captcha.com/)

### Installation

iniscrapec requires [python 3.7](https://https://www.python.org/) to run.

How to get it from git
```sh
$ git clone https://github.com/riccardopaltrinieri/iniscrapec.git
```
How to install it with pip
```sh
$ pip install iniscrapec==0.0.2
<sub>
You can also install it from pip with
*pip install iniscrapec* but something doesn't work well
</sub>

#### After installation
You need to fill the environment variables in the .env file:
```
CAP_KEY = "" # The API key given from the site 2capthca.com
DB_USER = "" # The user of the Mongo DB
DB_PWD = "" # The password of the Mongo DB
DATA_SITEKEY = "" # The captcha code as written in the step 2 of the link below
URL = "https://www.inipec.gov.it/cerca-pec/-/pecs/companies" #the gov website where to search the pec
TAX_EXAMPLE = "" # Variable used for testing and debugging
```
[link on how to use 2captcha](https://2captcha.com/2captcha-api#solving_recaptchav2_new)

How to run it with a simple [tkinter] gui
```sh
$ cd .\path\of\repo\iniscrapec
Expand Down

0 comments on commit 42580da

Please sign in to comment.