Please update the script for Python 3.
CHJ85 opened this issue · comments
Hi there. Please update the script for python3 so that I can use it.
$ python3 main.py -u email@gmail.com -p password "url"
Traceback (most recent call last):
File "/home/chris/plexmedia-downloader/main.py", line 303, in
plex.command_line()
File "/home/chris/plexmedia-downloader/main.py", line 294, in command_line
self.parse_url(args.url)
File "/home/chris/plexmedia-downloader/main.py", line 257, in parse_url
self.server_hash = fragment[2]
IndexError: list index out of range
Tried on python 2 and got the following error.
$ python main.py -u email@gmail.com -p password "url"
File "main.py", line 28
**self.headers,
^
SyntaxError: invalid syntax
Btw, my OS is Ubuntu 21.04.