I have a rather simple data scraping task, but my knowledge of web scraping is limited. I have a excel file containing the names of 500 cities in a column, and I'd like to find their distance from a fixed city, say Montreal. I have found this website which gives the desired distance (in both km and miles).
For each of these 500 cities, I'd like to read the name in the excel file, enter it in the "to" box, set the "from" field to "Montreal", press on the "Find" button (or Enter), extract the distance in km, and store the result in a vector.
Is there any source which walks you through these steps in Python, R, or even an online service?