Dynamic Scraping

i want to make the data scraping dynamic by the user choice(input dialog)
example: user enters the choice for the plan and data scrapping will do it automatically to csv file

Can you explain in detail @Taimur? It was bit confusing for me

there are a list of plans of which certain calculations are taking place …i want that whenever the user selects a particular plan the data scrapping be extracting that particular calculation