[scraper] includes 1337x sort api option

This commit is contained in:
TheBeastLT
2020-03-15 20:45:48 +01:00
parent a1d39af630
commit 5e4ed626e9
2 changed files with 6 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ async function processTorrentRecord(record) {
function typeMapping() {
const mapping = {};
mapping[leetx.Categories.MOVIE] = Type.MOVIE;
mapping[leetx.Categories.DOCUMENTARIES] = Type.MOVIE;
mapping[leetx.Categories.DOCUMENTARIES] = Type.SERIES;
mapping[leetx.Categories.TV] = Type.SERIES;
mapping[leetx.Categories.ANIME] = Type.ANIME;
return mapping;