GithubHelp home page GithubHelp logo

shopping-data-scraper's Introduction

Shopping Data Scraper

Folder rev contains refactored code for the project, all will be converted to TypeScript and NodeJS

Todo

  • Refactor Coles, don't use axios, web scraping IS ENOUGH
  • Migrate everything to NodeJS

Get product data from Woolworths and Coles and generate a single json file for Firebase. Coles is using NodeJS. Woolworths is using Python.

At the end of the day, Python is used to collect all data and to filter duplicates.

Category List

All products must have category ID in the table below

id name
meat-seafood-deli Meat, Seafood & Deli
bakery Bakery
dairy-eggs-fridge Dairy, Eggs & Fridge
pantry Pantry
freezer Freezer
drinks Drinks
pet Pet
baby Baby
health-beauty Health & Beauty
household Household
international-foods International Foods
uncategorised Uncategorised

Product Element

A product should have elements below:

{
  id: 'c2994130p-9327693006937',
  store: 'coles',
  name: 'Natural Balance Conditioner',
  price: 9,
  oldPrice: 18,
  categoryId: 'health-beauty',
  imagePath: 'https://shop.coles.com.au/wcsstore/Coles-CAS/images/2/9/9/2994130.jpg',
  cupPrice: '$1.80 per 100ml',
  unit: 'ea',
  packageSize: '500ml',
  barcode: [ '9327693006937' ],
  brand: 'Sukin'
}
  • id is a combination of store, store stock ID and first barcode

Woolworths

  • Get data from Woolworths API
  • Only Python with requests

Coles

shopping-data-scraper's People

Contributors

ntta avatar

Stargazers

dayve styes avatar Grant McNally avatar GitCodeSM avatar  avatar  avatar  avatar AmberX avatar  avatar Xudong ZHAO avatar Maivi avatar  avatar Meng Lin avatar  avatar  avatar

Watchers

 avatar

shopping-data-scraper's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.