Skip to content

Commit

Permalink
Switch to popcorn-ru.tk API server
Browse files Browse the repository at this point in the history
  • Loading branch information
lubo committed Apr 24, 2021
1 parent ee073a7 commit 03d2929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03d2929

Please sign in to comment.