Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
k4ml committed Mar 26, 2014
1 parent cb653a2 commit 9ec778e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scraper.py
Expand Up @@ -11,10 +11,9 @@
'preview_button': 'Papar',
}
resp = requests.post('http://idengue.remotesensing.gov.my/idengue/lokaliti_wabakB.php')
html = scraperwiki.scrape(resp.content)
#
# # Find something on the page using css selectors
root = lxml.html.fromstring(html)
root = lxml.html.fromstring(resp.content)
table = root.cssselect("#contentpaneopen")
print table
#
Expand Down

0 comments on commit 9ec778e

Please sign in to comment.