Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blablupcom committed Sep 5, 2015
1 parent aa67034 commit 05074c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ def convert_mth_strings(mth_string):

for yrPageLink in yrPageLinks:
yrPageUrl = 'http://www.cumbria.gov.uk' + yrPageLink.a['href']
print yrPageUrl


html2 = urllib2.urlopen(yrPageUrl)
soup2 = BeautifulSoup(html2)
subBlock = soup2.find('ul', {'class':'navsublist'})
Expand Down

0 comments on commit 05074c8

Please sign in to comment.