Giter Site home page Giter Site logo

shopify-bot's Introduction

Shopify Bot

A very simple Shopify Bot to self checkout using Python and Selenium.

Installation

Download chromedriver and save in the checkout-shopify folder.

Usage

  • Add your user information for the checkout.
  • Change domain and handle details.
  • Change shoeSize and quantity.
➜  checkout-shopify git:(master) ✗ python checkout-shopify.py
1. Added to the cart...
2. Selecting Shipping...
3. Filling up Payment...
4. Credit Card details ready...
5. Processing payment...

            Order #1026
          
('Checkout total: ', 26.51839303970337, 'seconds.')

Information

The script was tested in the Culture Kings store therefore you might need to change a few details depending on the Shopify Store.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

shopify-bot's People

Contributors

dreamigo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shopify-bot's Issues

Errors running script

Hi I am getting this error
response =urllib.urlopen(url)
AttributeError: module 'urllib' has no attribute 'urlopen'

and this error as well

line 50, in
if ((i['inventory_quantity'] > 0) and (i['title'] == shoeSize)):
KeyError: 'inventory_quantity'

I am using python 3

is it still working?

Hi is this bot still working with https://www.culturekings.com.au? Could you help do quick check?
Cause just went through the code and also check on website element. Looks like it now matching with the flow in the code, also ui elements.

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.