Git Product home page Git Product logo

sneaker-notify's Introduction

Donation: Feel free to buy me a cup of coffee, so I can stay motivated and keep updating this project.

PayPal

Sneaker Restock/Monitor Notify via Twitter/Discord/Slack coded in Python using Scrapy.

Example

Status: Under Development. If Interested feel free to Twitter Follow on Twitter. To view the database online check here.

Description: Crawl a list of sneaker websites. Once the new product is found or is restocked. It will check the item's name for certain keywords. If found, it will alert the user via Twitter using tweets or Discord/Slack using WebHook with date, time, item name, and link.

Supported Sites List:

  • 43einhalb
  • 5 Pointz
  • AFewStore
  • ALLike
  • Addict
  • AdidasUS
  • AdidasEU
  • Aphrodite
  • AsphaltGold
  • BSTN
  • Back Door
  • Bait
  • Barneys - Ban if crawl too much.
  • Basket Store
  • Blends
  • Bodega
  • Caliroots
  • Capsule
  • ChampsSports
  • City Gear
  • Concepts
  • Consortium
  • DeadStock
  • DefShop
  • Dope Factory
  • Drome
  • DSMNY
  • EastBay
  • End - Captcha if crawl too much.
  • Extra Butter NY
  • Feature
  • FinishLine - Banned on Vultr.
  • FootAction
  • FootAsylum
  • FootDistrict
  • FootLocker
  • FootPatrol
  • FootShop
  • Hanon
  • Haven
  • Hubbastille
  • HypeBeast
  • HypeDC
  • Inflammable
  • JDSports
  • JimmyJazz - ASN blocked on Vultr via CloudFlare.
  • Kith
  • Kong
  • Lapstone and Hammer
  • Loaded
  • Luisa Via Roma
  • MrPorter
  • NeedSupply
  • Next Door
  • NiceKicks
  • Nike
  • Nordstrom
  • Notre
  • Nrml
  • Office
  • Offspring
  • Oneness
  • OverKill
  • Packer
  • Proper
  • Puff Reds
  • Renarts
  • Rise45
  • Ruvilla
  • SSense
  • SVD
  • SaintAlfred
  • SaveOurSole
  • Shelf Life
  • ShoesPalace - Need to disobey robots.txt, if you want to crawl.
  • Size
  • Slam Jam Socialism
  • SneakerBaas
  • SneakerNStuff - ASN blocked on Vultr via CloudFlare.
  • SneakerPolitics
  • SocialStatus
  • SoleBox
  • SoleKitchen
  • SoleStop
  • Solefly
  • StickABush
  • StormFashion
  • Summer
  • Tint Footware
  • Titolo
  • Tres Bien
  • TrophyRoom
  • Undefeated
  • Uptown
  • Urban Industry
  • Urban Jungle
  • Urban Outfitters
  • WellGosh
  • West NYC
  • XileClothing
  • YCMC
  • YME Universe
  • Zappos

Setup:

  1. Make sure you have Python installed. (Working on Python 2.7 - not working on Python 3) To install Python go to https://www.python.org/

  2. Install the pip requirements - can be found in the requirements.txt.

  • Some Windows users will need to install
pip install pypiwin32
  • For Mac: to install MySQL-python. Open terminal and type the below:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install mysql-connector-c
pip install MySQL-python
Download:
MySQL_python‑1.2.5‑cp27‑none‑win32.whl for 32 Bit Python
MySQL_python‑1.2.5‑cp27‑none‑win_amd64.whl for 64 Bit Python

pip install wheel
pip install MySQL_python‑1.2.5‑cp27‑none‑win32.whl for 32 Bit Python
pip install MySQL_python‑1.2.5‑cp27‑none‑win_amd64.whl for 64 Bit Python
  1. Install MySQL database -> .sql file provided in the folder.

  2. Go into mysql_pipeline.py edit MySQL connection info and edit Twitter's CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN_KEY, and ACCESS_TOKEN_SECRET to your Twitter account's info. To use Discord or Slack paste the WebHook URL into requests.post(' DISCORD or SLACK WEBHOOK URL ', data={'content': TEXT_TO_TWEET})

  3. To run:

  • For Windows: Click on main.py
  • For Mac: Open terminal on the folder type python main.py

Optional: Added a crawler_db.php to see the data online.

  • To install, put crawler_db.php on your web server with the crawler's database running and edit the connection info.

sneaker-notify's People

Contributors

yulin12345 avatar

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.