Skip to content

Floxicek/MenzaScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MenzaScraper

MenzaScraper is a small project that notifies you when your favorite food is available in the CTU canteen.

Features

  • Get discord notifications for your favorite meals.
  • Scrape lunch menus from CTU canteens.
  • Easy to configure and use.
  • Supports multiple canteens.

Setup

  1. Clone the repository:

    git clone https://github.com/Floxicek/MenzaScraper.git
  2. Navigate to the project directory:

    cd MenzaScraper
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Configure your settings in config.json. id of the canteen is clPodsystem=2 in the URL select which food you want to get notified for

  5. Create and add your discord Webhook in .env. how to create a discord webhook

    WEBHOOK_URL=https://discord.com/api/webhooks/yoursecretcreds
    NOTION_TOKEN=1234567890abcdef1234567890abcdef
  6. Run the scraper:

    python main.py

Notion setup

TBA

Usage

I suggest running the scraper using cron to get notified regularly

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages