mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix lint
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user