Skip to main content

A Python package to scrape Eurorad case data and return it as JSON.

Project description

Eurorad Scraper

Eurorad Scraper is a Python package is build to scrape case data from Eurorad and return it in json format.

Installation

pip install euroradscraper

Usage

Importing the Package

from euroradscraper.euroscraper import EuroradScraper

Fetching a Case

case_number = "189"  # Replace with an actual case number
scraper = EuroradScraper(case_number)
data = scraper.get_case_data()
print(data)

Example Output

{
    "case_number": "189",
    "title": "chest pain ",
    "details": {
        "Clinical History": "Patient with chest pain...",
        "Findings": "CT scan reveals..."
    },
    "images": [
        "https://www.eurorad.org/images/000443.png",
        "https://www.eurorad.org/images/143253.jpg"
    ]
}

Features

  • Fetches Eurorad case data using a case number.
  • Extracts the case title, details, and images.
  • Returns data in json format.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Your Name - GitHub

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

euroradscraper-1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

euroradscraper-1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file euroradscraper-1.0.tar.gz.

File metadata

  • Download URL: euroradscraper-1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for euroradscraper-1.0.tar.gz
Algorithm Hash digest
SHA256 9c805511e3bf049459ad15093264179e173fd3984299f15f9333778df8e8039e
MD5 d730aa5633139cdbffae8ca7f8204556
BLAKE2b-256 9a52ce22a2a6b04da5ccad6d9ccacfc9952418da785a086ea10615065bcb1b3b

See more details on using hashes here.

File details

Details for the file euroradscraper-1.0-py3-none-any.whl.

File metadata

  • Download URL: euroradscraper-1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for euroradscraper-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56373573d02d83d7192304f2294a2eff369a3a08d1a478bef92d7e3bb2a1fda2
MD5 c9c77b909edcc2cc136b2537c730c0b0
BLAKE2b-256 086ff628cd4a16b17762021ae95c41f653946b776d095329333f06ca12629e09

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