Package to download and manage judgments
Project description
ScrapSE
Package description
ScrapSE downloads and manage the judgments.
Currently supported platforms: LEGGI D'ITALIA PA.
Install scrapse
pip install scrapse
The package creates the scrapse folder in /Users/your_username, where it will save all judgments in the
appropriate subfolders.
How to use
Saving cookies - important!
scrapse leggitalia save-cookie 'your_cokies'
This command saves session cookies in a special file, containing your_cookie.
Show filter values
scrapse leggitalia show-filters
This command shows the possible values to be assigned to sentence search filters.
Download the judgments
Make sure you have saved platform-related cookies before downloading the judgments!.
scrapse leggitalia scrap-judgments -l torino -s 'Sez. lavoro, Sez. V'
This command creates a folder in /Users/your_username/scrapse/leggitalia named sez.lavoro&sez.v_torino containing the judgments.
Dump judgments to json format
scrapse leggitalia dump-judgments -d 'folder_path'
This command creates the json files by saving them in the /Users/your_username/scrapse/leggitalia/judgments_dump folder.
For more help
For more information for each command.
command-name --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrapse-0.3.9.tar.gz.
File metadata
- Download URL: scrapse-0.3.9.tar.gz
- Upload date:
- Size: 51.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.11.2 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41143966af1e25b2871bb19c117c954f24a002f9342d928448a3fcdd7a8563a8
|
|
| MD5 |
0f72122a422b0b3570d590c1d42f7a52
|
|
| BLAKE2b-256 |
95dd01d3d50132107e0666075d203d21a7621774c728158629d70a335e536e2a
|
File details
Details for the file scrapse-0.3.9-py3-none-any.whl.
File metadata
- Download URL: scrapse-0.3.9-py3-none-any.whl
- Upload date:
- Size: 54.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.11.2 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
569574386eddb733918eebe63ef17f6e5106ed6163638a809b6417061f30958a
|
|
| MD5 |
a5c16ecbd0caad9ddcd62c2d2f27bc03
|
|
| BLAKE2b-256 |
651bf7ccb63f3c107b0f55088606af73d923ff448765bf0d977a6d665815e88d
|