|
|
@ -47,11 +47,11 @@ def wethenorth_description_parser(soup): |
|
|
|
vendor = vendor.strip() |
|
|
|
|
|
|
|
# Finding Vendor Rating |
|
|
|
# rating = listDes.find('span',{'class':'levelSet'}) |
|
|
|
# rating = rating.text |
|
|
|
# rating = rating.replace('\n', ' ') |
|
|
|
# rating = rating.replace(",", "") |
|
|
|
# rating = rating.strip() |
|
|
|
rating = listDes.find('span',{'class':'levelSet'}) |
|
|
|
rating = rating.text |
|
|
|
rating = rating.replace('\n', ' ') |
|
|
|
rating = rating.replace(",", "") |
|
|
|
rating = rating.strip() |
|
|
|
|
|
|
|
# Finding Successful Transactions |
|
|
|
success = listDes.find_all('p')[1] |
|
|
@ -92,6 +92,7 @@ def wethenorth_description_parser(soup): |
|
|
|
describe = describe.replace("\r", " ") |
|
|
|
describe = describe.strip() |
|
|
|
|
|
|
|
# cannot find any tag for these |
|
|
|
''' |
|
|
|
# Finding the Number of Product Reviews |
|
|
|
tag = soup.findAll(text=re.compile('Reviews')) |
|
|
|