You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Aria2p results in IndexError, while returning get_download().name
To Reproduce
Steps to reproduce the behavior:
run aria2c --enable-rpc
Add a direct link download, get gid and print name
import aria2p
api = aria2p.API()
uri = 'https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_640_3MG.mp4'
gid = api.add_uris([uri]).gid
name = api.get_download(gid).name
print(name)
See error
Expected behavior
Prints 'file_example_MP4_640_3MG.mp4'
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
aria2p version: 0.10.4
Python version: 3.9.5
OS: Linux
Additional context
JSON-RPC result with aria2.tellStatus
The text was updated successfully, but these errors were encountered:
Describe the bug
Aria2p results in IndexError, while returning get_download().name
To Reproduce
Steps to reproduce the behavior:
aria2c --enable-rpc
Expected behavior
Prints 'file_example_MP4_640_3MG.mp4'
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
aria2p
version: 0.10.4Additional context
JSON-RPC result with aria2.tellStatus
The text was updated successfully, but these errors were encountered: