This CLI is currently broken due to changed format of Stryktipset over at Svenskaspel.
I will probably never fix this issue.
CLI for the popular Swedish betting game Stryktipset
Enter your system and work your way to 13 correct and the millions using the cli-stryket. Your friends will probably think you are the coolest person alive, or the geekiest person alive.
cli-stryket fetches live data and correct your system in real-time.
The CLI is built using the curses python library which supplies a terminal-independent screen-painting and keyboard-handling facility for text-based terminals.
git clone https://github.com/mile95/cli-stryket.git
cd cli-stryket
pip3 install .
cli-stryket --input-file system.txt
system.txt
is the file containing your system.
Example system.txt
:
1x
1x2
12
x
1
2
12
1x2
1x
x2
x
2
x2
- When a game goes from NOT STARTED to STARTED state, the time text is not cleared properly, resulting in some overwriting of text. Fix: Restart the application.
- Between 4 pm and 7 pm on Saturdays, the traffic at Svenskaspel is high, resulting in the requests sometimes timeouts after 8s, which is currently not handled by the application. Fix: Restart the application.
Questions, Issues, or PRs are more than welcome! Happy Hacking.
I DO NOT OWN THE DATA DISPLAYED IN THIS APPLICATION. ALL DATA IS FETCHED FROM SVENSKASPEL AND OWNED BY SVENSKA SPEL.
THE APPLICATION FETCHES THE DATA FROM: https://spela.svenskaspel.se/resultat/stryktipset