diff --git a/scraper.py b/scraper.py index 799ab08..b52ae31 100644 --- a/scraper.py +++ b/scraper.py @@ -8,7 +8,7 @@ x=scraperwiki.pdftoxml(u.read()) test = re.search(r'jpg((.|\n)+)', x).group(0) #THURSDAY 12th MAY 2016 -test2 = re.search(r'(.*?)', test).group(0) +test2 = re.search(r'(.*?)', test).group(0).replace('', '').replace('', '').strip(' ') print test2 test1 = re.search(r'jpg((.|\n)+)TIDES', x).group(0) #print test1