I have a code which uses HTMLParser to reach a webpage where an exe file is located. The code then downloads and installs the file on local machine.
I need a solution for the below problem:
HTMLParser reaches a webpage where there are links to clients_test2, clients_test5, clients_test8. Each of this will have the same exe file. When it reaches this page i need to give user the option to choose the test environment(clients_test2 or clients_test5 or clients_test8) from which he wants the exe file.
Currently using regex it searches for clients_test and stops at the very first link encountered and gets the exe from there.