adds rarbg dump scraper based on scraped imdb ids

This commit is contained in:
TheBeastLT
2020-03-09 15:23:16 +01:00
parent ef09abc4e0
commit 2618694e33
8 changed files with 47214 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ async function getLatestTorrents() {
}
async function getLatestTorrentsForCategory(category) {
return rarbg.list({ category: category, limit: 100, sort: 'last', format: 'json_extended' })
return rarbg.list({ category: category, limit: 100, sort: 'last', format: 'json_extended', ranked: 0 })
.then(torrents => torrents.map(torrent => ({
name: torrent.title,
infoHash: decode(torrent.download).infoHash,