Skip to content

Commit

Permalink
Create scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
walinchus committed Jun 8, 2017
1 parent 2503036 commit 59205f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scraper.py
Expand Up @@ -11,7 +11,7 @@
for f in br.forms():
print f

formcount=0
'''formcount=0
for frm in br.forms():
if frm.attrs['class'] == "search-form":
break
Expand All @@ -22,7 +22,11 @@
#Get the search results
br.submit()
br.submit()'''

br.select_form()
br.form['db'] = 'garfield'
br.submit()



Expand Down

0 comments on commit 59205f3

Please sign in to comment.