Skip to content

Listener for new events for specified venue. Build for friend.

License

Notifications You must be signed in to change notification settings

ridlees/goout-venue-listener

Repository files navigation

Goout venue listener

A simple script utilising pyppeteer to scrap new events from Goout.net, compare them with database of scrapped events and send email to friend's email.

Dependencies

  • pyppeteer
  • dotenv
  • BeautifulSoup
  • SQLite

Installation

pip install -r requirements.txt

Setup

  1. Empty the venues.txt file
  2. Copy the .example-env to .env
  3. Fill in the details. The .example-env has port and SMTP server for google.
    • SENDER_EMAIL is your email
    • PASSWORD is password to your email
  • RECEIVER_EMAIL email is the email on which you send the new events
  • VENUES is the location of your venues.txt file
  1. Go to Goout and visit venue you want to subscribe to. On it, click on Upcoming Events and copy the URL. (E.G. https://goout.net/cs/ankali/vzqivb/events/)
  2. Add it to venues.txt
  3. Repeat 3. and 4. for all venues you want.
  4. In main.py, change the line 62 to any text you want (E.G. "Ahoj Honzo, \n tady jsou tvé akce"). Save the changes.

Running

  • Go to the Goout venue listener folder and run python3 main.py.

It will go through all your venues and check all incoming events. On each run, it sends you all events that are not in the events.db. That can be quite a lot on the first run.

About

Listener for new events for specified venue. Build for friend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages