mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
Fix
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = class JeopardyScrape {
|
|||||||
const seasons = [];
|
const seasons = [];
|
||||||
$('table td a').each((j, elem) => {
|
$('table td a').each((j, elem) => {
|
||||||
const href = $(elem).attr('href');
|
const href = $(elem).attr('href');
|
||||||
seasons.push(href.split('id=')[1]);
|
seasons.push(href.split('season=')[1]);
|
||||||
});
|
});
|
||||||
return seasons.reverse();
|
return seasons.reverse();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user