From 938654ef0b5900fc985de317758db84328ee7d39 Mon Sep 17 00:00:00 2001 From: caramdache Date: Mon, 4 May 2020 11:15:01 +0200 Subject: [PATCH] Fix YTS domain (.ag/.am -> .mx) YTS no longer works because the domain has changed. This patch uses the new domain instead. --- couchpotato/core/media/_base/providers/torrent/yts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/couchpotato/core/media/_base/providers/torrent/yts.py b/couchpotato/core/media/_base/providers/torrent/yts.py index 674adc3..ebd3c58 100644 --- a/couchpotato/core/media/_base/providers/torrent/yts.py +++ b/couchpotato/core/media/_base/providers/torrent/yts.py @@ -9,10 +9,10 @@ log = CPLog(__name__) class Base(TorrentMagnetProvider): # Only qualities allowed: 720p/1080p/3D - the rest will fail. - # All YTS.ag torrents are verified + # All YTS.mx torrents are verified urls = { - 'detail': 'https://yts.am/api#list_movies', - 'search': 'https://yts.am/api/v2/list_movies.json?query_term=%s&limit=%s&page=%s' + 'detail': 'https://yts.mx/api#list_movies', + 'search': 'https://yts.mx/api/v2/list_movies.json?query_term=%s&limit=%s&page=%s' } def _search(self, movie, quality, results): @@ -77,7 +77,7 @@ config = [{ 'tab': 'searcher', 'list': 'torrent_providers', 'name': 'YTS', - 'description': 'YTS', + 'description': 'YTS', 'wizard': True, 'icon': 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAACL0lEQVR4AS1SPW/UQBAd23fxne/Ld2dvzvHuzPocEBAKokCBqG' 'iQ6IgACYmvUKRBFEQgKKGg4BAlUoggggYUEQpSHOI7CIEoQs/fYcbLaU/efTvvvZlnA1qydoxU5kcxX0CkgmQZtPy0hCUjvK+W'