aniping.search.nyaa

class aniping.search.nyaa.Nyaa(config, plugin_manager)

Nyaa Search Engine Plugin.

This plugin implements the nyaa.si search engine for finding shows and subgroups.

category

str. Returns the category ID we are looking at in Nyaa.

filter

int. Returns the filter ID we are looking at in nyaa.

name

str. Returns the name of the plugin.

results(query)

Result gathering function.

Searches nyaa for a given show and returns the results.

Parameters:query (string) – The show title to search for.
Returns:tuple. Contains two lists.
  • groups - A list of sub groups parsed from the results.
  • results - A list of raw results.
url

str. Returns the RSS url we are parsing from.