[][src]Crate nyaadesu

Non official rust library to search Nyaa.si for torrents.

Nyaa.si does not provie any official API to interact with the website so every information that this library can provide is obtained by scraping HTML. This means that if something changes in Nyaa.si there is a possibility for nyaadesu to stop functioning so be sure to always check for an Error while using the search_torrent function (and maybe report it on GitHub).

See examples for a basic understanding of how to use this library.

Structs

Torrent

Struct that represents a torrent and contains some of its basic information.

Enums

Anime

Enum that encodes variants of anime torrents.

Audio

Enum that encodes variants of audio torrents.

Category

Enum that encodes a torrent's category.

Error

Emun that encodes possible errors

Literature

Enum that encodes variants of literature torrents.

LiveAction

Enum that encodes variants of live action torrents.

Pictures

Enum that encodes variants of pictures torrents.

Software

Enum that encodes variants of software torrents.

Functions

torrent_search

Search Nyaa.si for torrents by name.