MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / rating

Function rating

Web Scraping IPhone from Flipkart/all functions.py:28–33  ·  view source on GitHub ↗
(doc_new)

Source from the content-addressed store, hash-verified

26 return off_link
27
28def rating(doc_new):
29 ratings = doc_new.find_all('div', class_='_3LWZlK')
30 all_ratings = []
31 for i in ratings:
32 all_ratings.append(i.text.strip())
33 return all_ratings
34
35def mobile_description(doc_new):
36 mobile_description = doc_new.find_all('ul', class_='_1xgFaf')

Callers 1

for_all_pagesFunction · 0.70

Calls 1

stripMethod · 0.80

Tested by

no test coverage detected