Code Monkey home page Code Monkey logo

web_snoop's Introduction

web_snoop

About

Utility for checking web-resource for certain changes and reporting it by email.

As a matter of fact it was made, because I had troubles to make an appointment to a doctor. My medical center has a web service which one can use to register an appointment to the doctor. But it's really hard to make it, because available time can appear at random time and I constantly missed it. So, I decided to write a small script, that will inform me, when there is an available time.

One can use this script as the base for it's own, that can inform about a web-resource changes (but be aware, not to DDOS it ;-)).

Requirements

  • Python v2.7
  • job-scheduler like cron, that can execute script from time to time
  • email address to send and receive messages

Installing

  1. Place your settings in settings.py (use settings_example.py).

  2. Edit parse_data() function, to match your needs.

  3. Add main.py as job for job-scheduler.

  • In Linux (Mac OS too, I guess) you can use cron: sudo crontab -e Add line to the end of the file, like this: */10 * * * * /usr/bin/python /home/pi/Documents/web_snoop/main.py This will launch job every 10 minutes.

  • In Windows there is a command taskschd.msc to launch task-scheduler GUI.

License

The MIT License

web_snoop's People

Contributors

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