GithubHelp home page GithubHelp logo

barangokcekli / mcbu-duyuru-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 KB

A bot that sends an e-mail when a new announcement is added to different announcement pages of the university

License: MIT License

Python 99.29% Procfile 0.71%

mcbu-duyuru-bot's Introduction

MCBU Announcements Checker

This Python script checks the latest announcement on the websites listed in the URLS dictionary and sends an email notification to the email addresses listed in the EMAIL_INFO dictionary.

Prerequisites

  • Python 3.x
  • requests module
  • beautifulsoup4 module
  • smtplib module
  • email-to module
  • dotenv module
  • A Gmail account with "App password" turned on

Installation

  1. Clone this repository to your local machine.
  2. Install the required modules:
pip3 install -r requirements.txt
  1. Create a .env file in the same directory as the announcement.py file, and add the following lines:
sender_password=your_gmail_app_password

Customization

EMAIL_INFO Dictionary

The EMAIL_INFO dictionary contains the email information for sending the notifications. You can customize the sender email, sender password, and receiver emails by modifying this dictionary.

Example:

EMAIL_INFO = {
    "sender_email": "[email protected]",
    "sender_password": "your_gmail_app_password",
    "receiver_emails": ["[email protected]", "[email protected]"]
}

License

This project is licensed under the MIT License - see the LICENSE file for details

mcbu-duyuru-bot's People

Contributors

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