[scraper] bumps rarbg-api version
This commit is contained in:
10
package-lock.json
generated
10
package-lock.json
generated
@@ -1687,8 +1687,8 @@
|
||||
}
|
||||
},
|
||||
"parse-torrent-title": {
|
||||
"version": "git://github.com/TheBeastLT/parse-torrent-title.git#49be4a2b4ab14e26fca4e52de82f6ad08948fdc7",
|
||||
"from": "git://github.com/TheBeastLT/parse-torrent-title.git#49be4a2b4ab14e26fca4e52de82f6ad08948fdc7",
|
||||
"version": "git://github.com/TheBeastLT/parse-torrent-title.git#e487224d4ecdcc15838fd72b81efb436bfda846c",
|
||||
"from": "git://github.com/TheBeastLT/parse-torrent-title.git#e487224d4ecdcc15838fd72b81efb436bfda846c",
|
||||
"requires": {
|
||||
"moment": "^2.24.0"
|
||||
}
|
||||
@@ -1950,9 +1950,9 @@
|
||||
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4="
|
||||
},
|
||||
"rarbg-api": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/rarbg-api/-/rarbg-api-1.1.3.tgz",
|
||||
"integrity": "sha512-9pkjwIDLOOOwB4U0AUw4tN9P4vV6tDizvHtkbu5KLpbJjLHneP3FMbHJeFT50yVy/9dTOaFtxg2zD3pGFgOaOg=="
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/rarbg-api/-/rarbg-api-1.1.4.tgz",
|
||||
"integrity": "sha512-BxhHwCW/h18l8m8nwONfEVcNRN0qt0mBp0eM0yecdDIG6h1VcNMdCViLqyPethZC0UExTCGsioCWvVWbCkBMhg=="
|
||||
},
|
||||
"raw-body": {
|
||||
"version": "2.3.3",
|
||||
|
||||
@@ -31,10 +31,10 @@
|
||||
"node-schedule": "^1.3.2",
|
||||
"nodejs-bing": "^0.1.0",
|
||||
"parse-torrent": "^6.1.2",
|
||||
"parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#49be4a2b4ab14e26fca4e52de82f6ad08948fdc7",
|
||||
"parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#e487224d4ecdcc15838fd72b81efb436bfda846c",
|
||||
"pg": "^7.8.2",
|
||||
"pg-hstore": "^2.3.2",
|
||||
"rarbg-api": "^1.1.3",
|
||||
"rarbg-api": "^1.1.4",
|
||||
"real-debrid-api": "git://github.com/TheBeastLT/node-real-debrid.git#935a5c23ae809edbcd2a111526a7f74d6767c50d",
|
||||
"rutracker-api-2": "^1.10.0",
|
||||
"sequelize": "^5.21.5",
|
||||
|
||||
@@ -10,16 +10,16 @@ const NAME = 'RARBG';
|
||||
const limiter = new Bottleneck({ maxConcurrent: 1, minTime: 2500 });
|
||||
const entryLimiter = new Bottleneck({ maxConcurrent: 40 });
|
||||
const allowedCategories = [
|
||||
rarbg.CATEGORY['4K_MOVIES_X264_4k'],
|
||||
rarbg.CATEGORY['4K_X265_4k'],
|
||||
rarbg.CATEGORY['4k_X264_4k_HDR'],
|
||||
rarbg.CATEGORY.MOVIES_XVID,
|
||||
rarbg.CATEGORY.MOVIES_XVID_720P,
|
||||
[54], // Movies/x265/1080
|
||||
rarbg.CATEGORY.MOVIES_X265_1080P,
|
||||
rarbg.CATEGORY.MOVIES_X265_4K,
|
||||
rarbg.CATEGORY.MOVIES_X265_4K_HDR,
|
||||
rarbg.CATEGORY.MOVIES_X264,
|
||||
rarbg.CATEGORY.MOVIES_X264_1080P,
|
||||
rarbg.CATEGORY.MOVIES_X264_720P,
|
||||
rarbg.CATEGORY.MOVIES_X264_1080P,
|
||||
rarbg.CATEGORY.MOVIES_X264_3D,
|
||||
rarbg.CATEGORY.MOVIES_X264_4K,
|
||||
rarbg.CATEGORY.MOVIES_BD_REMUX,
|
||||
rarbg.CATEGORY.TV_EPISODES,
|
||||
rarbg.CATEGORY.TV_UHD_EPISODES,
|
||||
|
||||
@@ -34,16 +34,16 @@ async function updateSeeders(torrent, getImdbIdsMethod) {
|
||||
|
||||
async function scrapeLatestTorrents() {
|
||||
const allowedCategories = [
|
||||
rarbg.CATEGORY['4K_MOVIES_X264_4k'],
|
||||
rarbg.CATEGORY['4K_X265_4k'],
|
||||
rarbg.CATEGORY['4k_X264_4k_HDR'],
|
||||
rarbg.CATEGORY.MOVIES_XVID,
|
||||
rarbg.CATEGORY.MOVIES_XVID_720P,
|
||||
[54], // Movies/x265/1080
|
||||
rarbg.CATEGORY.MOVIES_X265_1080P,
|
||||
rarbg.CATEGORY.MOVIES_X265_4K,
|
||||
rarbg.CATEGORY.MOVIES_X265_4K_HDR,
|
||||
rarbg.CATEGORY.MOVIES_X264,
|
||||
rarbg.CATEGORY.MOVIES_X264_1080P,
|
||||
rarbg.CATEGORY.MOVIES_X264_720P,
|
||||
rarbg.CATEGORY.MOVIES_X264_1080P,
|
||||
rarbg.CATEGORY.MOVIES_X264_3D,
|
||||
rarbg.CATEGORY.MOVIES_X264_4K,
|
||||
rarbg.CATEGORY.MOVIES_BD_REMUX,
|
||||
rarbg.CATEGORY.TV_EPISODES,
|
||||
rarbg.CATEGORY.TV_UHD_EPISODES,
|
||||
|
||||
Reference in New Issue
Block a user