mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 03:33:08 +00:00
update plex-download.py to use server auth-token instead of account auth-token (#1113)
This commit is contained in:
parent
0080cc8964
commit
6eee2eed35
1 changed files with 1 additions and 1 deletions
|
@ -82,6 +82,6 @@ if __name__ == '__main__':
|
|||
# We do this manually since we don't want to add a progress to Episode etc
|
||||
filename = '%s.%s' % (item._prettyfilename(), part.container)
|
||||
url = item._server.url('%s?download=1' % part.key)
|
||||
filepath = utils.download(url, token=account.authenticationToken, filename=filename, savepath=os.getcwd(),
|
||||
filepath = utils.download(url, token=item._server._token, filename=filename, savepath=os.getcwd(),
|
||||
session=item._server._session, showstatus=True)
|
||||
#print(' %s' % filepath)
|
||||
|
|
Loading…
Reference in a new issue