Permalink
Browse files

Update scraper.py

  • Loading branch information...
woodbine committed Dec 2, 2016
1 parent 87fdb55 commit 7b3d4a8a68c1d5d42f5fc644f90eacdfc3165fa5
Showing with 1 addition and 1 deletion.
  1. +1 −1 scraper.py
View
@@ -102,7 +102,7 @@ def convert_mth_strings ( mth_string ):
blocks = soup.find('p', text=re.compile('HM Treasury Guidance')).find_all_next('a')
for block in blocks:
if '.csv' in block['href']:
url = block['href'].replace('\xa3', '')
url = block['href']
title = block.text.strip()
csvMth = title[:3]
csvYr = title[-4:]

0 comments on commit 7b3d4a8

Please sign in to comment.