mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-03-11 21:26:53 +00:00
[scraper] fixes eztv latest scraper method
This commit is contained in:
parent
c565980e45
commit
fd7057f3dc
2 changed files with 2 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ function parseSeriesFile(file, parsedTorrentName) {
|
|||
if (!fileInfo.season && parsedTorrentName.season) {
|
||||
fileInfo.season = parsedTorrentName.season;
|
||||
}
|
||||
if (!fileInfo.season && fileInfo.seasons.length > 1) {
|
||||
if (!fileInfo.season && fileInfo.seasons && fileInfo.seasons.length > 1) {
|
||||
// in case single file was interpreted as having multiple seasons
|
||||
fileInfo.season = fileInfo.seasons[0];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ async function updateSeeders(torrent) {
|
|||
}
|
||||
|
||||
async function scrapeLatestTorrents() {
|
||||
return scrapeLatestTorrentsForCategory(1654);
|
||||
return scrapeLatestTorrentsForCategory();
|
||||
}
|
||||
|
||||
async function scrapeLatestTorrentsForCategory(page = 1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue