Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danozgriff committed May 12, 2016
1 parent fd6da67 commit da91e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -8,7 +8,7 @@
x=scraperwiki.pdftoxml(u.read())
test = re.search(r'jpg((.|\n)+)</text>', x).group(0)
#<b>THURSDAY 12th MAY 2016 </b>
test2 = re.search(r'<b>(.*?)</b>', test).group(0)
test2 = re.search(r'<b>(.*?)</b>', test).group(0).replace('<b>', '').replace('</b>', '').strip(' ')
print test2
test1 = re.search(r'jpg((.|\n)+)TIDES', x).group(0)
#print test1
Expand Down

0 comments on commit da91e4d

Please sign in to comment.