Skip to main content

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


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.7.tar.gz (10.0 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.7-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scrapse-0.3.7.tar.gz
  • Upload date:
  • Size: 10.0 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.7.tar.gz
Algorithm Hash digest
SHA256 6d72ab102fb45455d8ecc7f5b7e6f2ae156d35b8c389764b20822b3642b468d0
MD5 030d175eb81f0a2cfc82cd262bbea180
BLAKE2b-256 2078ad0f897ffcda01a45e873d32928d4eaa3fd37d526ecd685e3d1a25e393c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scrapse-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ca3d55d41464f44e41147867d363dc42d15f06f0ab5f58d0a428c1e2734ee925
MD5 b21644344a5afeb6677a77bab9b2f95d
BLAKE2b-256 38fa7767bec08cb2fa2c6e39d9b67bd487342500a7d34fe85c1d51a171e0a3d6

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