I am trying to parse a webpage code for which is below. I am able to get the users using the xpath but i am unable to get their scores using xpath any ideas what i am doing wrong here ?
import requests from lxml import html internsHack = 'https://doselect.com/hackathon/inmobi-internshack/leaderboard' page = requests.get(internsHack) tree = html.fromstring(page.content) users = tree.xpath('//div[@class="md-list-item-text"]/h2/a/text()') score = tree.xpath('//div[@class="points-score"]/ng-pluralize/text()')