flexget.components.sites.sites.newznab module#
- class flexget.components.sites.sites.newznab.Newznab[source]#
Bases:
objectNewznab search plugin.
Provide a url or your website + apikey and a category. When a URL is provided it will override website and apikey; category will not be used in the URL but is still needed to properly fill out search parameters.
Config example:
- newznab:
url: “http://website/api?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxx&t=movie&extended=1” website: https://website apikey: xxxxxxxxxxxxxxxxxxxxxxxxxx category: movie
Category is any of: movie, tvsearch, tv, music, book, all
- schema = {'additionalProperties': False, 'oneOf': [{'required': ['url']}, {'required': ['website']}], 'properties': {'apikey': {'type': 'string'}, 'category': {'enum': ['movie', 'tvsearch', 'tv', 'music', 'book', 'all'], 'type': 'string'}, 'url': {'format': 'url', 'type': 'string'}, 'website': {'format': 'url', 'type': 'string'}}, 'required': ['category'], 'type': 'object'}#