Permalink
Browse files

SLC

  • Loading branch information...
erinclark erinclark
erinclark authored and erinclark committed Jan 7, 2016
1 parent dfc6e40 commit 6df5a89c0847a9e2a00c922811554ca0035497d3
Showing with 2 additions and 3 deletions.
  1. +2 −3 scraper.py
View
@@ -42,7 +42,6 @@ def get_tender_text(link):
tender_text = tender_text.replace('\\t', '.')
tender_text = tender_text.replace(' ', ' ')
print tender_url
print tender_text
return tender_text
@@ -53,8 +52,8 @@ def split_text(tender_text, front, back):
text_section = tender_text[fro:to]
item_text = text_section[text_section.find(':')+1:]
item_text = item_text.encode('utf-8').strip().strip('.')
print item_text
return text_section
#print item_text
return item_text
if __name__ == '__main__':

0 comments on commit 6df5a89

Please sign in to comment.