Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 715 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 715 Bytes

backend

Setup

virtualenv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
python webscraper.py

Usage

There are two requests you can make both of which are post requests.

It webscrapes https://www.drugs.com/imprints.php to find the pill information. https://www.drugs.com/ for the drug informations.

localhost:port/multi

BRAND: DRUG

localhost:port/pill

IMPRINT: STRING

SHAPE: SHAPE OF PILL

COLOR: COLOR OF PILL

Drug List generator

This just creates a json with every drug name in Medline and a link to it in Medline

python listgen.py

Attributions

https://www.drugs.com/ For pill information https://medlineplus.gov/druginformation.html For drug information