Nayemjaman / bd-ponno

Scrapy Mongodb Djongo integrated API that scrapes popular e-commerce sites (10+) from Bangladesh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bd-ponno

Scrapy MongoDB Django integrated API that scrapes popular e-commerce sites (10+) from Bangladesh.
Added some extra functionalities for the API, ex- custom price and product tag filter

Built With

Django==3.1.7
django-cors-headers==3.7.0
django-filter==2.4.0
django-heroku==0.3.1
djangorestframework==3.12.2
djongo==1.3.4
Scrapy==2.4.1
scrapy-djangoitem==1.1.1
pymongo==3.11.3

Remarks

MongoDB Atlas is not a good option for djongo or remote web scraping, because djongo is just a connector for the underlying relational mapper with Django which causes additional delay, hence bad performance for remote scraping with Atlas. Also, there could be some unintentional issues, for example -

I ran into error to check product details view in admin panel because of its ArrayReferenceField class (Category model)

Click to view the error
AttributeError Exception Value:	 'list' object has no attribute '_meta'

trace the issue:
https://github.com/doableware/djongo/issues/136

API preview

bd_ponno_products

About

Scrapy Mongodb Djongo integrated API that scrapes popular e-commerce sites (10+) from Bangladesh

License:Apache License 2.0


Languages

Language:Python 100.0%