GithubHelp home page GithubHelp logo

ygor's Introduction

Igor

alt tag

An html bot / assistant ###The problem: Many students often forget to visit their school's / teacher's website and as a result they don't get informed about important tasks like homework, registration to a course, exam etc. and this problem affects their academic development.

###The solution: Simple. A bot / assistant that checks web pages you are interested in and every time a change occurs, it notifies you.


###Installation:

  • Prerequisites: pip (python's package manager), python 2.7
$ git clone https://github.com/mbalamat/igor
$ cd igor
$ pip install -r requirements.txt
  • Set the environment variables used by igor:
$ export IGOR_EMAIL_ADDRESS='[email protected]'
$ export IGOR_EMAIL_PASSWD='yOuRp@ssWd'
$ export IGOR_RECEIVER_ADDRESS='[email protected]'

☝️ Note that the gmail account that the bot will use to send emails has to enable less secure apps, you can to that [here] (https://www.google.com/settings/security/lesssecureapps).

❗ You can not enable less secure apps if you have 2fa enabled. (Just create another gmail.)

  • Set the urls you are interested in by changing the urls.conf file. Every line of the file corresponds to a url. Remove any blank lines.

👏 👏 👏 You are all set.

Use igor.py with [CRON] (https://en.wikipedia.org/wiki/Cron) so it runs once every day or every time your computer reboots or whatever you want.

ygor's People

Contributors

mbalamat avatar

Stargazers

Aris Siozos avatar Kostis Karantias avatar Giannis Gkoulioumis avatar

Watchers

Kostis Karantias avatar James Cloos avatar

ygor's Issues

Encoding Problem

When a page is in some other language (e.g. Greek), even if a change doesn't occur check_diff() returns True.

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.