Magnex v0.1.0 Magnex.Crawlers.Yts View Source

Provides access to latest and search for Yts.am torrents.

Link to this section Summary

Functions

Fetches the latest torrents added to yts.am

Performs a search given a term

Link to this section Functions

Link to this function

latest() View Source
latest() :: {:ok, [Torrent.t()]}

Fetches the latest torrents added to yts.am.

Examples

iex> Magnex.Crawlers.Yts.latest
{:ok, [%Torrent{}...]}
Link to this function

search(term) View Source
search(String.t()) :: {:ok, [Torrent.t()]}

Performs a search given a term.

Examples

iex> Magnex.Crawlers.Leetx.search("big buck bunny")
{:ok, [%Torrent{}...]}