Sort:  

All the best bud. Before long you'll be writing your own programs. I won't be surprised if you improve the code massively too.

:-)

Aahah no way, I was aiming at something alot more simple. Btw how do you change the program to predict results from other leagues like Bundesligue for instance?

For Bundesliga use

soccerprediction.py -c Germany -l Bundesliga

You can find valid options for -c and -l by going to Soccer Punter and selecting from any of the dropdown menus at the top. Then you can copy portions of the URL.

For example, if you click on the 2nd dropdown (where it says Club Domestic), select "Argentina", then it lists the competitions for that country. If click on "Torneo Federal A 2017/2018" it opens the page for that competition.

Take the URL.
www.soccerpunter.com/soccer-statistics/Argentina/Torneo-Federal-A-2017-2018

would translate to

soccerprediction.py -c Argentina -l "Torneo Federal A"

Another example.
www.soccerpunter.com/soccer-statistics/Europe/UEFA-Champions-League-2017-2018

soccerprediction.py -c Europe -l UEFA-Champions-League

You can use spaces or dashes in both options, but if you use spaces remember to use quotes too.

Alright thank you, I was trying just that, but getting nothing, I closed everything now its working, I'll make sure its the name in the Url aswell maybe it was that.

I've noticed a problem with some competitions that it gives a lot of 100% & 0% probabilities - this seems to be because the teams in the competition vary so much from season to season.

The same problem can be seen in matches where a team has recently been promoted.

So, don't believe it if it's says 100% probability.

Have fun.