qBittorrent
|
Functions | |
def | initialize_engines () |
Every engine should have a "search" method taking a space-free string as parameter (ex. More... | |
def | engines_to_xml (supported_engines) |
def | displayCapabilities (supported_engines) |
def | run_search (engine_list) |
def | main (args) |
Variables | |
bool | THREADED = True |
MAX_THREADS = cpu_count() | |
dictionary | CATEGORIES = {'all', 'movies', 'tv', 'music', 'games', 'anime', 'software', 'pictures', 'books'} |
def nova3.nova2.displayCapabilities | ( | supported_engines | ) |
Display capabilities in XML format <capabilities> <engine_short_name> <name>long name</name> <url>http://example.com</url> <categories>movies music games</categories> </engine_short_name> </capabilities>
Definition at line 105 of file nova2.py.
References nova3.nova2.engines_to_xml(), and Utils::String.join().
Referenced by nova3.nova2.main().
def nova3.nova2.engines_to_xml | ( | supported_engines | ) |
Generates xml for supported engines
Definition at line 85 of file nova2.py.
References Utils::String.join().
Referenced by nova3.nova2.displayCapabilities().
def nova3.nova2.initialize_engines | ( | ) |
Every engine should have a "search" method taking a space-free string as parameter (ex.
"family+guy") it should call prettyPrinter() with a dict as parameter. The keys in the dict must be: link,name,size,seeds,leech,engine_url As a convention, try to list results by decreasing number of seeds or similar
Import available engines Return list of available engines
Definition at line 59 of file nova2.py.
References Utils::String.join().
Referenced by nova3.nova2.main().
def nova3.nova2.main | ( | args | ) |
Definition at line 145 of file nova2.py.
References nova3.nova2.displayCapabilities(), nova3.nova2.initialize_engines(), and Utils::String.join().
def nova3.nova2.run_search | ( | engine_list | ) |
dictionary nova3.nova2.CATEGORIES = {'all', 'movies', 'tv', 'music', 'games', 'anime', 'software', 'pictures', 'books'} |