Code Monkey home page Code Monkey logo

instock-scraper's Introduction

instock-scraper

This is a simple web page scraper to check stock of some items.

Multi-Script Repository

Overview

This repository contains multiple scripts for various tasks along with instructions on how to use them and install the necessary modules. The original script now called instock.py was written by Willo Free. It was used to show how to do web scraping in a python coding club. Ken Perry modified the original to create the others and show different ways to display the data.

Scripts

instock.py: Original script by Willo Free that shows several items instock status from Aph web site. instock_single.py: Shows the stock of a single item. instock_loop.py: Re-creates the instock.py with a loop rather than copying each item.

instock_clip.py Recreates the original script but adds all the items to the clipboard.

instock_wx: Re-creates the original and shows the information in a dialog.

Installation

Before running the scripts, ensure you have Python installed on your system. You can download Python from the official Python website.

Installing Required Modules

Each script may require certain Python modules to be installed. Here's how to install them:

Module pyclipboard Copy code pip install pyclibpoard

Module wx

Copy code pip install wxPython

Module requests Copy code pip install requests

Module Beautiful soup Copy code pip install bs4

Usage

Follow the steps below to use the scripts:

Clone this repository to your local machine using the following command: Copy code git clone https://github.com/krperry/instock-scraper.git

Navigate to the project directory:

Copy code cd instock-scraper

Run the desired script using the following command: Copy code python instock<_name>.py

Replace <_name> with which script you want to run.

instock-scraper's People

Contributors

krperry avatar

Watchers

 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.