Skip to content

YijinLiu/crazy-shopping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple online shopping automation tool

==========================================

At this special moment, many of us are buying food online. If you have experienced difficulty in checking out your shopping carts because of stock / delivery issues, you may end up keeping refreshing some web pages manually all the time. This is time consuming and exhausting. This project presents a simple tool to automate it. You drop items in the shopping carts and leave the checkout to the machine.

Table of contents

Manual

Create the docker container:

$ docker run -it --shm-size 2g --name crazy-shopping yijinliu/crazy-shopping:2020-04-08

Inside the container:

$ git clone https://github.com/YijinLiu/crazy-shopping
$ cd crazy-shopping

Wholefood

Add products to your cart and run following command in the container:

$ ./wholefood.py --email "xxxx@yyyy" --password "zzzz"

For Developer.

To build a new docker image:

$ make

To be able to run in non headless mode:

$ docker run -it -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/snd --shm-size 2g --name crazy-shopping yijinliu/crazy-shopping:2020-04-08

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published