Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update API server domain #137

Merged
merged 1 commit into from
Aug 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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