Permalink
Browse files

Update scraper.py

  • Loading branch information...
danozgriff committed May 12, 2016
1 parent fd6da67 commit da91e4dc6fa6d46cb994f38b07154d1f41c45841
Showing with 1 addition and 1 deletion.
  1. +1 −1 scraper.py
View
@@ -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

0 comments on commit da91e4d

Please sign in to comment.