Browse Source

new site elements

master
calexil 2 years ago
parent
commit
3007d179df
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      rankcheck.py

+ 1
- 1
rankcheck.py View File

@@ -35,7 +35,7 @@ def main():
# Scrape rank data from navbar span
result = session_requests.get(URL, headers = dict(referer = URL))
tree = html.fromstring(result.content)
rank_number = tree.xpath('//span[@class="navbar-text"]/text()')
rank_number = tree.xpath('//span[@id="leaderboardRank"]/text()')

print "%s" % rank_number


Loading…
Cancel
Save