From 03d292905e30b356f64dbc724a8727ae62af154f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=BDubom=C3=ADr=20Ku=C4=8Dera?= Date: Sat, 24 Apr 2021 12:13:54 +0200 Subject: [PATCH] Switch to popcorn-ru.tk API server tv-v2.api-fetch.sh has stopped working recently. Found via: https://www.reddit.com/r/PopCornTimeApp/comments/lykcdc/windows_macos_linux_users_please_read_before_you/ --- .../resources/lib/kodipopcorntime/favourites.py | 2 +- .../resources/lib/kodipopcorntime/providers/api-fetch.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/favourites.py b/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/favourites.py index e77af33..4c160ed 100644 --- a/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/favourites.py +++ b/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/favourites.py @@ -141,7 +141,7 @@ def _create_movie_favs(): movie_favs1 = [] for fav in movie_favs: log("(Favourites_movie) %s" % fav) - search = '%s/movie/%s' % ('https://tv-v2.api-fetch.sh', fav['id']) + search = '%s/movie/%s' % ('https://popcorn-ru.tk', fav['id']) req = urllib2.Request(search, headers = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36", "Accept-Encoding": "none"}) response = urllib2.urlopen(req) movie_fav = json.loads(response.read()) diff --git a/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/providers/api-fetch.py b/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/providers/api-fetch.py index 592220a..af7edd2 100755 --- a/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/providers/api-fetch.py +++ b/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/providers/api-fetch.py @@ -26,8 +26,8 @@ def _getDomains(): domains = [ - # Currently working and has all 3 categories - "https://tv-v2.api-fetch.sh" + # Currently working, doesn't support anime yet + "https://popcorn-ru.tk" ] # User domains have highest priority