Skip to content

A tool which crawls announcements from NTU Ceiba, NTU Cool, etc.

Notifications You must be signed in to change notification settings

brianbbsu/NTU-Announcement-Crawler

Repository files navigation

NTU Announcement Crawler

This is a tool which crawls announcements from courses on NTU Ceiba, NTU Cool, and other websites which can be easily added by writing plugins.

Currently it supports sending Telegram messages when new announcements are found. Also there's an api endpoint which returns all announcements in json format.

How to use

These instructions will get you a copy of the tool up and running.

Prerequisites

  • Python 3.6 or up
  • git

Installing

  1. Clone the repository.
git clone https://github.com/brianbbsu/NTU-Announcement-Crawler.git
cd NTU-Announcement-Crawler
  1. Install Python dependencies
pip3 install -r requirements.txt

or

python3 -m pip install -r requirements.txt
  1. Edit Config
cp example.config.yaml config.yaml
# Setup your username, passwords and telegram info in config.yaml

Running

python3 main.py

About

A tool which crawls announcements from NTU Ceiba, NTU Cool, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published