This commit is contained in:
lilyissillyyy
2025-08-16 22:15:26 -04:00
parent e74d9e633e
commit 1d4454700b
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,5 +1,4 @@
const Command = require('../../framework/Command'); const Command = require('../../framework/Command');
const request = require('node-superfetch');
const { createCanvas, loadImage } = require('@napi-rs/canvas'); const { createCanvas, loadImage } = require('@napi-rs/canvas');
const path = require('path'); const path = require('path');
const { reactIfAble } = require('../../util/Util'); const { reactIfAble } = require('../../util/Util');
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class JeopardyScrape {
} }
async fetchSeasons() { async fetchSeasons() {
const { text } = await request.get(`https://j-archive.com/listseasons.php`) const { text } = await request.get(`https://j-archive.com/listseasons.php`);
const $ = cheerio.load(text); const $ = cheerio.load(text);
const seasons = []; const seasons = [];
$('table td a').each((j, elem) => { $('table td a').each((j, elem) => {