Skip to main content

Package to download and manage judgments

Project description

ScrapSE

Package description

ScrapSE downloads the judgments in the desired format.

Currently supported platforms: LEGGI D'ITALIA PA.

Install scrapse

pip install scrapse

How to use

Saving cookies - important!

scrapse leggitalia save-cookie 'your_cokies'

This command creates a .txt 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 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 judgments_dump folder.

For more help

For more information for each command.

command-name --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrapse-0.3.5.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scrapse-0.3.5-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file scrapse-0.3.5.tar.gz.

File metadata

  • Download URL: scrapse-0.3.5.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for scrapse-0.3.5.tar.gz
Algorithm Hash digest
SHA256 2fdf0d827ba62bd33ffa620999f6127dba64c833ecc28ed258101a2d4f62b217
MD5 1d87ca9768d2979f626bb09eee099189
BLAKE2b-256 6893c56cd31e5b1139fb8d87a9c14484e45ec15e1b425de7f04d650718628586

See more details on using hashes here.

File details

Details for the file scrapse-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: scrapse-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for scrapse-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 32b282b9581fe0de865607f29bcba4163692924dd3b6ecf508abea1303bb75bf
MD5 46ec44e05d4bfb3f3f6b6d31df66db49
BLAKE2b-256 68658f88f367a237e220dc208cb5a292205e34e17e1b9fd688d6308bfa1e6bb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page