Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cavedave committed May 6, 2015
1 parent 3e6c582 commit 05d57fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scraper.py
Expand Up @@ -69,7 +69,9 @@
'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Host':'www.uhaul.com'}

response = s.post('http://uhaul.com/',data=payload,headers=headers).encode('utf-8')
response = s.post('http://uhaul.com/',data=payload,headers=headers)

response = response.encode('utf-8')

print response.text
print response.headers
Expand Down

0 comments on commit 05d57fc

Please sign in to comment.