Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #4

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
## Overview
Welcome to the bd-medicine-scraper repository!

In this project, I scraped Medicine data (from [medex.com.bd](https://medex.com.bd)) using **scrapy** and integrated it with **Django REST Framework**. The data is stored in a **PostgreSQL** database. I designed the scraper in a way to keep the relations between models.
In this project, I scraped Medicine data (from [medex.com.bd](https://medex.com.bd)) using **scrapy** and integrated it with **Django REST Framework**. The data is stored in a **PostgreSQL** database. I designed the scraper in a way to keep the relations among models. Here is the [snapshot of the medex.bd](https://web.archive.org/web/20220416161208/https://medex.com.bd/) that has been scraped.

I also customized the django admin panels, added additional features such as -
- auto complete lookup relational fields
I also customized the Django admin panels, and added additional features such as -
- auto-complete lookup of relational fields
- custom filtering (alphabetical, model property)
- bulk actions (export to csv)
- bulk actions (export to CSV)

Other Customizations:
- custom scrapy command to run scrapy spiders from django command line. (ex- `python manage.py <spider_name>`)
- custom django commands
- custom scrapy command to run scrapy spiders from Django command line. (ex- `python manage.py <spider_name>`)
- Custom Django commands
- to export models to csv. (`python manage.py <export_model_name> <export_data_path>`)
```
python manage.py export_medicine_data /home/ahmed/Desktop/medicine_data.csv
Expand Down Expand Up @@ -130,4 +130,4 @@ psycopg2==2.9.3

![django_admin_dosage_form](https://user-images.githubusercontent.com/40615350/157111180-98bb2b6a-bb15-4159-ba4b-48f92dd97538.png)

![django_admin_manufacturer](https://user-images.githubusercontent.com/40615350/157111404-3e3ff9e3-f9f4-4bd6-b176-c08fa32ecee1.png)
![django_admin_manufacturer](https://user-images.githubusercontent.com/40615350/157111404-3e3ff9e3-f9f4-4bd6-b176-c08fa32ecee1.png)
Loading