Changed PopcornTime endpoints
This commit is contained in:
parent
bd5491e6ef
commit
fd10b2260c
1 changed files with 3 additions and 3 deletions
|
@ -117,7 +117,7 @@ class TorrentPlugin(Plugin):
|
||||||
|
|
||||||
def search_movies(self, query, language=None):
|
def search_movies(self, query, language=None):
|
||||||
request = urllib.request.urlopen(urllib.request.Request(
|
request = urllib.request.urlopen(urllib.request.Request(
|
||||||
'https://movies-v2.api-fetch.website/movies/1?' + urllib.parse.urlencode({
|
'https://popcorn-api.io/movies/1?' + urllib.parse.urlencode({
|
||||||
'sort': 'relevance',
|
'sort': 'relevance',
|
||||||
'keywords': query,
|
'keywords': query,
|
||||||
}), headers=self.headers
|
}), headers=self.headers
|
||||||
|
@ -149,7 +149,7 @@ class TorrentPlugin(Plugin):
|
||||||
|
|
||||||
def search_tv(self, query):
|
def search_tv(self, query):
|
||||||
request = urllib.request.urlopen(urllib.request.Request(
|
request = urllib.request.urlopen(urllib.request.Request(
|
||||||
'https://tv-v2.api-fetch.website/shows/1?' + urllib.parse.urlencode({
|
'https://popcorn-api.io/shows/1?' + urllib.parse.urlencode({
|
||||||
'sort': 'relevance',
|
'sort': 'relevance',
|
||||||
'keywords': query,
|
'keywords': query,
|
||||||
}), headers=self.headers
|
}), headers=self.headers
|
||||||
|
@ -198,7 +198,7 @@ class TorrentPlugin(Plugin):
|
||||||
|
|
||||||
def search_anime(self, query):
|
def search_anime(self, query):
|
||||||
request = urllib.request.urlopen(urllib.request.Request(
|
request = urllib.request.urlopen(urllib.request.Request(
|
||||||
'https://anime.api-fetch.website/animes/1?' + urllib.parse.urlencode({
|
'https://popcorn-api.io/animes/1?' + urllib.parse.urlencode({
|
||||||
'sort': 'relevance',
|
'sort': 'relevance',
|
||||||
'keywords': query,
|
'keywords': query,
|
||||||
}), headers=self.headers
|
}), headers=self.headers
|
||||||
|
|
Loading…
Reference in a new issue