Skip to content

Commit 2f7b01a

Browse files
committed
Fixed highscores parsing
1 parent 0625e66 commit 2f7b01a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tibiapy/highscores.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ def _parse_entries_table(self, table):
234234
cols_raw = row.find_all('td')
235235
if "There is currently no data" in cols_raw[0].text:
236236
break
237+
if cols_raw[0].text == "Rank":
238+
continue
237239
if len(cols_raw) <= 2:
238240
break
239241
self._parse_entry(cols_raw)

0 commit comments

Comments
 (0)