/sc2-calendar

A Python Flask / Redis server which web scrappes matches from Liquipedia Starcraft II when accessed by an iCal URL. Events generated are included in standard calendar apps.

Primary LanguagePython

sc2-calendar has been discontinued. To find new version, look at liquipedia-calendar

What is it ?

sc2-calendar is a web scrapper / iCalendar server which uses https://liquipedia.net/starcraft2/Liquipedia:Upcoming_and_ongoing_matches as a source and Flask as a iCalendar server.

The end result is a customizable link which permits to subscribe to arbitrary number of players and teams, pro or not as long as it figures on Liquipedia webpage.

image

Once the link added in a Calendar App, events are auto generated and look like this.

To run locally

1)
docker run --name sc2calendar-redis -p 6379:6379 -d redis
OR
docker start -d redis

2)
...

To run on production

1)
Commit
Push

2)
Hook / pull

3)
Run

Ressources

https://www.e-tinkers.com/2018/08/how-to-properly-host-flask-application-with-nginx-and-guincorn/ https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04