Sadly, as of July 2017, Thunder quietly shut down the "Lixian" functionality, and you can no longer retrieve remotely downloaded files on their servers. (See users' posts on this forum for the past few months.) As such, this project is now abandoned.
"Thunder Lixian" downloads normally go through an HTTP redirection before arriving at file-hosting servers. However, Thunder geoblocks its "Lixian" service in the U.S. by redirecting download requests (as well as its web interface) to a bogus domain. This script retrieves actual file-serving URLs through a proxy and then forwards them to a running aria2
instance for downloading.
User needs to input:
- the hostname
aria2
is running on (with JSON-RPC enabled), - an RPC authorization secret token,
- address to a proxy server,
- raw
aria2
commands generated byThunderLixianExporter
.
After a proxy server is supplied for the first time, it will be saved in proxy.txt
.
Read the complete setup guide here.
- This script is written in Python 3. It is not compatible with Python 2, mainly because of changes made to the
input()
function. Attempts to run this script with Python 2 may result in arbitrary code execution.
- While adding more than one downloads, if any but the last one failed, all raw
aria2
commands that follow will be written tostdin
. And, as such, they will be treated by the shell as regular commands and executed.
- Add support for custom
aria2
JSON-RPC port number (default is 6800).