Switch to new API endpoint for PlexPass downloads. Fixes #224

This commit is contained in:
Alex Malinovich 2019-02-11 22:22:36 -08:00
commit 7723dfc97b
No known key found for this signature in database
GPG key ID: F3327D1AA93CF5F0
2 changed files with 18 additions and 5 deletions

View file

@ -10,7 +10,7 @@
######## CONSTANTS ########
# Current pages we need - Do not change unless Plex.tv changes again
URL_LOGIN='https://plex.tv/users/sign_in.json'
URL_DOWNLOAD='https://plex.tv/api/downloads/1.json?channel=plexpass'
URL_DOWNLOAD='https://plex.tv/api/downloads/5.json?channel=plexpass'
URL_DOWNLOAD_PUBLIC='https://plex.tv/api/downloads/1.json'
# Default options for package managers, override if needed