Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Thetadyne committed Aug 2, 2019
1 parent bd9f7f3 commit 0a259c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def get_pages():
br = webdriver.Firefox()
br.get(starting_page)
for p in range(85, 87):
br.execute_script("__doPostBack('p$lt$WebPartZone6$Content$pageplaceholder$p$lt$WebPartZone2$Search$ProgramList$repItems$pager','" + str(p) + "')"

br.execute_script("__doPostBack('p$lt$WebPartZone6$Content$pageplaceholder$p$lt$WebPartZone2$Search$ProgramList$repItems$pager','" + str(p) + "')" )
print 'Retrieving page %s' % p
pages.append(br.page_source)
return pages

Expand Down

0 comments on commit 0a259c8

Please sign in to comment.