Using data scraping to extract from input url

Hello,

Building upon this example: Example of Using Data Scraping , I would like for the robot to be able to receive a random wikipedia seach listing e.g. “cats” instead of “economics”, and extract this data and write it to excel in the same way.

Is this possible?