Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

soup itemprop

birthday = soup.find(itemprop = 'birthDate').get_text()
age = soup.find('span', class_ = 'item birthday').find('strong').get_text()
locality = soup.find(itemprop = "addressLocality").get_text()
nationality = soup.find(itemprop = "nationality").get_text()
association = soup.find(class_ = 'item association').find('span', itemprop = 'name').get_text()
height = soup.find(class_ = 'item height').find('strong').get_text()
weight = soup.find(class_ = 'item weight').find('strong').get_text()
weightClass = soup.find(class_ = 'item wclass').find('strong').get_text()
Source by miningthedetails.com #
 
PREVIOUS NEXT
Tagged: #soup #itemprop
ADD COMMENT
Topic
Name
4+1 =