module TPB

Extended Modules

Defined in:

tpb.cr

Constant Summary

TRACKERS = ["udp://tracker.coppersurfer.tk:6969/announce", "udp://tracker.openbittorrent.com:6969/announce", "udp://9.rarbg.to:2710/announce", "udp://9.rarbg.me:2780/announce", "udp://9.rarbg.to:2730/announce", "udp://tracker.opentrackr.org:1337", "udp://tracker.torrent.eu.org:451/announce", "udp://tracker.tiny-vps.com:6969/announce", "udp://open.stealth.si:80/announce"]
URL = ENV.fetch("TPB_API_URL") do "https://apibay.org/q.php" end
VERSION = "0.1.0"

Instance Method Summary

Instance Method Detail

def ensure_ok!(status : Int32) #

[View source]
def exec(args) #

[View source]
def parse(args : Array(String) = ARGV, stdin : IO = STDIN, stdout : IO = STDOUT, stderr : IO = STDERR, env : Enumerable(Tuple(String, String)) = ENV) #

[View source]
def search(q : String | Nil) : Enumerable(Result) #

[View source]
def unexpected!(arg : String) #

[View source]