Created
October 3, 2020 05:54
-
-
Save usshen/7b9653f14890512787b6c5db134ba647 to your computer and use it in GitHub Desktop.
python 2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xmlrpclib | |
import sys | |
aria2URL = sys.argv[1] | |
aria2RPC = xmlrpclib.ServerProxy("http://localhost:6800/rpc") | |
aria2Result = aria2RPC.aria2.addUri("token:rpcscrete",[aria2URL]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment