We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec3ba53 commit 7d9a178Copy full SHA for 7d9a178
koishi/contest.py
@@ -117,12 +117,13 @@ def result(self) -> Result:
117
@property
118
def results(self) -> List[Result]:
119
"""A list of latest results."""
120
- resp = self._ses.get(f"https://satori.tcs.uj.edu.pl/contest/{self.id}/results?results_limit=256")
+ resp = self._ses.get(f"https://satori.tcs.uj.edu.pl/contest/{self.id}/results?results_limit=4096")
121
dom = lxml.html.fromstring(resp.text)
122
123
out = []
124
for tr in dom.xpath(r"//table[@class='results']/tr[position()!=1]"):
125
id = xpstr(tr, r".//td[1]/a/text()")
126
+ id = int(id)
127
src = xpstr(tr, r".//td[2]/text()")
128
129
date = xpstr(tr, r".//td[3]/text()")
0 commit comments