Sfoglia il codice sorgente

new site elements

master
calexil 3 anni fa
parent
commit
3007d179df
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      rankcheck.py

+ 1
- 1
rankcheck.py Vedi 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…
Annulla
Salva