So I have a small python script that will ask the user for a username then it will download their logs for a certain twitch.tv channel from overrustlelogs.net
At the moment I just have 2 lists, one for months one for the year because the log URL takes the format of
http://overrustlelogs.net/Channel%20chatlog/MonthName%20Year/user.txt
months = ['September','October','November','December','January','February','March','April','May','June','July','August','September','October','November','December','January','February','March','April','May','June','July','August']
years = ['2014','2014','2014','2014','2015','2015','2015','2015','2015','2015','2015','2015','2015','2015','2015','2015','2016','2016','2016','2016','2016','2016','2016','2016']
As you can see my way of using a for loop and taking the index of each loop is pretty stupid because I have to manually edit the list each month.
What's a better way to do this? I want the program to download the logs from September 2014 to the current Month and Year