Surf Spot Bot is a Telegram bot used for getting current surf report for a given surf spot. The bot does not get it's information from any API, but rather scrapes the information from Surfline using the BeautifulSoup.
To retrieve a surf report from the bot, use the /surf <..spotname>
command. The arguments will be parsed as strings and used to search for a surf spot.
For example,
/surf la jolla shores
will search surfline.com for "la jolla shores" and retrieve the surf report for the first search result.
- python3
- python-telegram-bot
- beautifulsoup4
- Install the above requirements using
pip
- Set the variable
TELEGRAM_TOKEN
insrc/main.py
to your telegram bot token - Start the bot with
python main.py