Skip to content

Commit 228526d

Browse files
Fix atcoder parser
1 parent 3d9ebb6 commit 228526d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parsers/atcoder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const atcoder = () => {
3636
const $ = cheerio.load(response.data);
3737
const contests = $('.table-bordered > tbody > tr').slice(1);
3838

39-
return contests.map((i, contest) => {
40-
const details = $(this).children('td');
39+
return contests.map((_, contest) => {
40+
const details = $(contest).children('td');
4141
const name = details.eq(1).find('a').text();
4242
const startTime = calcStartTimeUTC(details.eq(0).find('a').text());
4343
const duration = parseDuration(details.eq(2).text());

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy