Supreme Court Scraper

View on GitHub

Scrapes case data from the Israeli Supreme Court website (elyon2.court.gov.il) and exports it to CSV files.

What It Does

Iterates through Supreme Court case records by year and case number, extracting structured data from multiple sections:

  1. General Information — case details, dates, status
  2. Parties — petitioners and respondents
  3. Lower Courts — related cases in lower instances
  4. Discussions — hearing dates and details
  5. Events — case timeline events
  6. Confirmations — court decisions and confirmations
  7. Requests — motions filed in the case

Each section is exported as a separate CSV file.

Usage

pip install requests beautifulsoup4

python main.py

Configure the year range and case range at the top of main.py:

s_year = 2016
e_year = 2022
s_case = 1
e_case = 20

Output

Generates CSV files named by section (e.g., general_information.csv, parties.csv, discussions.csv).

Requirements

  • Python 3
  • requests
  • beautifulsoup4