Giter Site home page Giter Site logo

hp-printer-metrics-scraper's Introduction

Python---HP-Printer Web Scraper

Python script that scrapes the internal web pages of HP Printers for data.

Prerequisites:

  • Python installed on your machine : https://www.python.org/downloads/
  • Requires the Pandas and BeautifulSoup library to be installed.
  • Pandas can be installed by running pip install pandas from command prompt or terminal window.
  • BeautifulSoup can be installed by running pip install beautifulsoup4 from a command prompt or terminal window.
  • This script requires that you disable Encrypt All Web Communication (not including IPP) on the printer. This can be done from the internal webpage under the Networking Tab >> Mgmt. Protocals.
  • This allows the script to request the webpage, otherwise the script would fail to reach the webpage.

Do this at your own risk as you are disabling a security feature on your printer

msedge_MiwG7D5wCM

What the script does: This script specifically scrapes the internal webpages of HP printers (that are defined in the script) and pulls the following info: - The Date - Printer Name (as defined) - Page Count - Toner Level - Maintenance Kit Level

The script will look for a .xlsx file named (AllPrinters.xlsx). If if doesn't find the .xlsx, it will create one in the directory in which you run the script from. The script will append the data everytime it is executed.

hp-printer-metrics-scraper's People

Contributors

brand07 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.