flexget.plugins.input.torznab module#

class flexget.plugins.input.torznab.Torznab[source]#

Bases: object

Torznab search plugin.

Handles searching for tv shows and movies, with fallback to simple query strings if these are not available.

_build_url(**kwargs)[source]#

Build the url with query parameters from the arguments.

_check_searcher(searchers, searcher)[source]#

Check if the given searchers is in the list, available and has supported params.

_convert_query_parameters(entry, fields)[source]#

Convert from Flexget fields to query parameters for torznab.

https://flexget.com/Entry nZEDb/nZEDb

_parse_torznab_attrs(entry, attrs)[source]#

Parse the torznab::attr values from the response.

Sonarr/Sonarr

_setup(task, config)[source]#

Set up parameters.

_setup_caps(**kwargs)#
_setup_categories(xml_root, categories)[source]#

Get the available search categories for the indexer.

_setup_searcher(xml_root, searcher, categories)[source]#

Get the available searchers (tv, movie, etc) for the indexer and their supported parameters.

create_entries_from_query(**kwargs)#
search(task, entry, config=None)[source]#

Search interface.

property schema#

The schema of the plugin.

flexget.plugins.input.torznab.format_capabilities_output(xml_root)[source]#

Format and display the capabilities XML in a clean way.

flexget.plugins.input.torznab.register_parser_arguments()[source]#

Register the torznab CLI command.

flexget.plugins.input.torznab.register_plugin()[source]#
flexget.plugins.input.torznab.torznab_capabilities_cli(manager, options)[source]#

CLI command to fetch and display torznab capabilities.