Giter Site home page Giter Site logo

ksasso1028 / juicestore-bot Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 6.0 10 KB

Checkout bot capable of monitoring site and sending a text message via twilio when the desired item is found

Python 100.00%
shopify sneakerbot shopify-bot bot selenium python monitoring-tool monitor plugin pip

juicestore-bot's Introduction

Juicestore Bot

Shoe checkout bot specifically made for https://juicestore.com/ Bot monitors site looking for a product with the desired keyword. Once the product is found, a text message is sent to the owner via twilio and the bot starts the automated checkout process from picking a size, to auto filling payment and shipping info and finally checking out

although this is specifically for juicestore, it provides insight on how to automate processes on another website

Getting Started

Surf the site and find a product you would like to test it out with. Replace self.keyword with your desired keyword. Then of course fill in all of your credentials for each auto fill field.

Prerequisites

You will need to have python 3+ installed.

Install selenium via pip -- pip install selenium

Install Twilio via pip -- pip install twilio

You will need to configure the account ID and token with your own Twilio credentials in the constructor of the Bot class

CONFIGURATION

Make sure you enter your twilio details into your bot constructor and uncomment self.client. On line 60 you will uncomment the text message portion and replace "from" with your twilio number. ADJUST YOUR MONITOR REFRESH RATE, line 73.

In the monitor function you can replace the URL in the first line if you would like(only works on juicestore and will only buy shoes at the moment)

Installing

Ensure you have all required libraries+ credentials and keywords and launch!

Deployment

Sit back and watch the bot display all products on the page and look for your product! No need to keep refreshing the site wasting your life

Authors

Kevin Sasso

License

This project is licensed under the MIT License - see the LICENSE.md file for details

juicestore-bot's People

Contributors

sassoshots avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

juicestore-bot's Issues

ModuleNotFoundError: No module named 'urlparse'

Hi

When I run this from IDLE after using pip to install the twillo dependency we see

ModuleNotFoundError: No module named 'urlparse'

Traceback (most recent call last):
File "/Users/madamson/Documents/python/juicebot.py", line 3, in
from twilio.rest import Client
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twilio/init.py", line 11, in
from .rest.exceptions import TwilioRestException
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twilio/rest/init.py", line 1, in
from .base import set_twilio_proxy
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twilio/rest/base.py", line 6, in
from twilio.rest.resources import Connection
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twilio/rest/resources/init.py", line 5, in
from .base import (
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twilio/rest/resources/base.py", line 18, in
from .connection import Connection
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twilio/rest/resources/connection.py", line 1, in
from .imports import (
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twilio/rest/resources/imports.py", line 5, in
from cgi import parse_qs
ImportError: cannot import name 'parse_qs' from 'cgi' (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/cgi.py)

Thoughts please?

Thanks

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.