Pragament / python_scrapers

GNU Affero General Public License v3.0
0 stars 2 forks source link

Use Python or nodejs: Scrape from Swiggy instamart - create a single output JSON file of all instamart products in all categories & subcategories #1

Open ndubbaka opened 1 month ago

ndubbaka commented 1 month ago

Scrape from Swiggy instamart(https://www.swiggy.com/instamart/) - create a single output JSON file of all instamart products in all categories & subcategories.

company name - manufacturer(Surf Excel) from Swiggy Image

fork repositories:

Similar Zepto scraper at https://github.com/Pragament/python_scrapers/blob/main/zepto/main.py

{
 "categories": [
   {
     "_id": 1,
     "name": "Vegetables",
     "subcategories": [
       {
         "_id": 1,
         "name": "organic"
       }
     ]
   }
 ],
 "products": [
   {
     "_id": 1,
     "name": "Johnsonsbaby Soap",
     "product_url": "https://www.swiggy.com/product/johnsonsbaby-soap100grms/",
     "image_url": "https://www.swiggy.com/product/johnsonsbaby-soap100grms/image.png",
     "price": 83.50,
     "measurement": {
       "value": 2,
       "unit": "Pcs"
     },
     "manufacturer": "Eco Farms",
     "subcategory_id": 6
   }
 ]
}
jerilalbi commented 1 week ago

I would like to work on this