See how easy it is? We only needed to open a new file and use a simple for loop to get a hundred file names at once.
Create a file named urls.txt that will have all necessary links separated with newlines. You need to include links for all subjects and all years from 2010 to 2018 (inclusive). Start with the first subject, and generate its links for all years. Then, move on to the next subject, and so on.
Remember that a newline character is inserted with '\n'.