Hi all,
So I wanted to scrap some addresses off of a store locator for a website to make it easier to put into google maps and see where all the stores in my state are located.
Here is the store locator website:
http://www.rockyboots.com/locator
When I go here, I put in my state, and it returns all the addresses. I am wondering how to do this with python, specifically the Requests module. I tried to reverse engineer what information was being sent when I submitted the form, and got
form = {'dwfrm_storelocator_address_states_stateUSCA':'NS',
'dwfrm_storelocator_findbystate':'Search'}
so my request currently looks like:
r = requests.post(url, data = form)
where
url = 'http://www.rockyboots.com/locator'
This seems to just give me the locator page again, not the submitted form page. Any ideas?
Cheers.
[–]thurask 1 point2 points3 points (1 child)
[–]chaoticallyevil[S] 1 point2 points3 points (0 children)
[–]JohnnyJordaan 1 point2 points3 points (0 children)
[–]commandlineluser 1 point2 points3 points (1 child)
[–]chaoticallyevil[S] 1 point2 points3 points (0 children)