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 14, 2017
1 parent 6f04329 commit 790479e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scraper.py
Expand Up @@ -104,11 +104,11 @@ def scrape_and_look_for_next_link(url):
#for next_link in range (1, 744):
#print next_link
for next_link in range (0,744):
print next_link + 1
print int(next_link)+1
print "the next case number is:", next_link
next_link = 'GetCaseInformation.aspx?db=garfield&number=CF-2011-' + str(next_link)
#next_link = 'GetCaseInformation.aspx?db=garfield&number=CF-2011-' + str(next_link)
if next_link:
next_url = base_url+str(next_link)
next_url = base_url+'GetCaseInformation.aspx?db=garfield&number=CF-2011-'+str(next_link)
print next_url
scrape_and_look_for_next_link(next_url)

Expand Down

0 comments on commit 790479e

Please sign in to comment.