Skip to content

Commit

Permalink
pv: changed profiles endpoint
Browse files Browse the repository at this point in the history
* Replaced the profile parsing from `/help/` to `/gp/video/profiles`
  • Loading branch information
Varstahl committed Oct 1, 2020
1 parent 5e98759 commit d0a2f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.video.amazon-test/resources/lib/primevideo.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def Profile(self, path):
def List():
""" List all inactive profiles """
# Hit a fast endpoint to grab and update CSRF tokens
home = GrabJSON(self._g.BaseUrl + '/help/')
home = GrabJSON(self._g.BaseUrl + '/gp/video/profiles')
self._UpdateProfiles(home)
for k, p in self._catalog['profiles'].items():
if 'active' == k or k == self._catalog['profiles']['active']:
Expand Down

0 comments on commit d0a2f82

Please sign in to comment.