The Kingmed Case Report Scraper is a web scraping tool designed to retrieve comprehensive medical histories from the Kingmed website. These histories encompass both general and birth-related records across various clinical disciplines.
-
Clone the repository:
git clone https://github.com/HarutyunAg/kingmed-scraper cd kingmed-scraper
-
Use the provided
scraper.sh
file to initiate the scraping process::bash scraper.sh
-
Specify the download path: When prompted, enter the path where you wish to save the downloaded files. An example prompt is as follows:
Enter the path where you want to download files: /path/to/download/files
Alternatively, if you prefer manual activation, follow the next steps.
-
Clone the repository:
git clone https://github.com/HarutyunAg/kingmed-scraper cd kingmed-scraper
-
Create and activate a virtual environment using Poetry:
cd ./deps poetry install poetry shell cd ..
-
Run the
main.py
file: Execute the following command to initiate the scraper, which will commence downloading medical histories into the specified directory.python main.py