New popcorn time API URLs
This commit is contained in:
parent
42d29ca1f6
commit
3c209a800b
1 changed files with 2 additions and 2 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://popcorn-api.io/movies/1?' + urllib.parse.urlencode({
|
'https://movies-v2.api-fetch.sh/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://popcorn-api.io/shows/1?' + urllib.parse.urlencode({
|
'https://tv-v2.api-fetch.sh/shows/1?' + urllib.parse.urlencode({
|
||||||
'sort': 'relevance',
|
'sort': 'relevance',
|
||||||
'keywords': query,
|
'keywords': query,
|
||||||
}), headers=self.headers
|
}), headers=self.headers
|
||||||
|
|
Loading…
Reference in a new issue