I am familiar with BeautifulSoup and urllib2 to clear data from a web page. However, what if the parameter needs to be entered into the page before the result I want to clear is returned?
I am trying to get the geographical distance between two addresses using this site: http://www.freemaptools.com/how-far-is-it-between.htm
I want you to be able to go to the page, enter two addresses, click "Show", and then extract the values "Distance like raven flies" and "Distance by ground transport" and save them in the dictionary.
Is there a way to enter data into a webpage using Python?
source
share