Skip to content

adam1x/ThunderRedirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Status

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.

ThunderRedirect

"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.

Usage

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 by ThunderLixianExporter.

After a proxy server is supplied for the first time, it will be saved in proxy.txt.

Read the complete setup guide here.

Required modules

Note

  • 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.

Known issues

  • While adding more than one downloads, if any but the last one failed, all raw aria2 commands that follow will be written to stdin. And, as such, they will be treated by the shell as regular commands and executed.

TODO

  • Add support for custom aria2 JSON-RPC port number (default is 6800).

About

[ABANDONED] Un-geoblock "Thunder Lixian"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages