Magnex v0.1.0 Magnex.Crawlers.Leetx View Source

Provides access to latest and search for 1337x torrents.

Link to this section Summary

Functions

Fetches the latest torrents added to 1337x

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 1337x.

Examples

iex> Magnex.Crawlers.Leetx.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{}...]}