Skip to content

Commit 73df731

Browse files
committed
fix: the wrong selector to get atcoder contests infomation
1 parent 6335c8a commit 73df731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/oj/atcoder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const at: oj = {
1010
const response = await axios.get("https://atcoder.jp/contests");
1111
const $ = cheerio.load(response.data);
1212
const contests: contest[] = [];
13-
$("#contest-table-upcoming,#contest-table-action table > tbody > tr").each(function ()
13+
$("table > tbody > tr", "#contest-table-action, #contest-table-upcoming").each(function ()
1414
{
1515
const ct: contest = {
1616
ojName: at.name,

0 commit comments

Comments
 (0)