Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Chahed committed Nov 5, 2015
1 parent c8982d6 commit 8146dad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scraper.py
Expand Up @@ -81,6 +81,7 @@ def Detail_left_fc(htmltext):
Description=BeautifulSoup(Description).text
Description=Description.strip(', ')
Description=suittext(Description)
Description=Description.encode('ascii','ignore')
return Description

def Description_awarded(htmltext):
Expand All @@ -92,6 +93,7 @@ def Description_awarded(htmltext):
Description=BeautifulSoup(Description).text
Description=Description.strip(', ')
Description=suittext(Description)
Description=Description.encode('ascii','ignore')
return Description


Expand Down

0 comments on commit 8146dad

Please sign in to comment.