A quick scrapper to enumerate all products and categories on an e-commerce website's page.
Python3.6.5 or above
- Clone this repo
- cd into ScrapPanda, create a virtualenv and activate it
- install dependencies
pip install -r requirements.txt
python main.py <URL> <sample_product_name> <sample_category_name>
<URL>
is URL of the ecommerce website<sample_product_name>
is any product's name from the<URL>
above.<sample_category_name>
is any category's name from the<URL>
above.
python main.py 'https://www.snapdeal.com' 'Lenovo Ideapad 110 (80T70015IH) Notebook (Intel Pentium- 4GB RAM- 1TB HDD- 39.62cm (15.6)- DOS) (Black)' 'Loafers'