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 2604a46 commit b12f308
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scraper.py
Expand Up @@ -139,9 +139,8 @@ def scrap_live(url):
Contract_Type =BeautifulSoup(Table(htmltext,0)).text
Procurement_Process =suittext(BeautifulSoup(Table(htmltext,1)).text)
Estimated_Value_TEXT_DESCRIPTION =suittext(BeautifulSoup(Table(htmltext,2)).text)
Cat =suittext(Table(htmltext,3))
Category= (BeautifulSoup(Cat).text).split(',')
Category=suittext(str(Category))
Category =suittext(Table(htmltext,3))

CPV_codes =suittext(BeautifulSoup(Table(htmltext,4)).text).strip(', ')
Suitable_for_SME =suittext(BeautifulSoup(Table(htmltext,5)).text)

Expand Down

0 comments on commit b12f308

Please sign in to comment.