From e0b07ba363ef28cb205b0cfbd766c72f3661e078 Mon Sep 17 00:00:00 2001 From: Gabisonfire Date: Thu, 18 Jan 2024 07:34:09 -0500 Subject: [PATCH] updated urls for torrent9 --- addon/hosted/init/torrentio-pgsql.sql | 2 +- scraper/scrapers/torrent9/torrent9_api.js | 2 +- scraper/scrapers/torrent9/torrent9v2_api.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addon/hosted/init/torrentio-pgsql.sql b/addon/hosted/init/torrentio-pgsql.sql index 83c5698..d187f37 100644 --- a/addon/hosted/init/torrentio-pgsql.sql +++ b/addon/hosted/init/torrentio-pgsql.sql @@ -1,7 +1,7 @@ CREATE TABLE "torrents" ( "infoHash" varchar(64) PRIMARY KEY, "provider" varchar(32) NOT NULL, - "torrentId" varchar(128), + "torrentId" varchar(256), "title" varchar(256) NOT NULL, "size" bigint, "type" varchar(16) NOT NULL, diff --git a/scraper/scrapers/torrent9/torrent9_api.js b/scraper/scrapers/torrent9/torrent9_api.js index 0c409aa..2f435aa 100644 --- a/scraper/scrapers/torrent9/torrent9_api.js +++ b/scraper/scrapers/torrent9/torrent9_api.js @@ -6,7 +6,7 @@ const { parse } = require('parse-torrent-title'); const { getRandomUserAgent } = require('../../lib/requestHelper'); const { parseSize } = require("../scraperHelper"); -const baseUrl = 'https://www.torrent9.re' +const baseUrl = 'https://www.torrent9.st' const defaultTimeout = 10000; const pageSize = 50; diff --git a/scraper/scrapers/torrent9/torrent9v2_api.js b/scraper/scrapers/torrent9/torrent9v2_api.js index e6ce580..1faef38 100644 --- a/scraper/scrapers/torrent9/torrent9v2_api.js +++ b/scraper/scrapers/torrent9/torrent9v2_api.js @@ -6,7 +6,7 @@ const { parse } = require('parse-torrent-title'); const { getRandomUserAgent } = require('../../lib/requestHelper'); const { parseSize } = require("../scraperHelper"); -const baseUrl = 'https://www.torrent9.gg' +const baseUrl = 'https://www.torrent9.st' const defaultTimeout = 10000; const Categories = {