Module: BTScraper
- Defined in:
- lib/btscraper.rb,
lib/btscraper/udpscrape.rb
Overview
Scrape library for bittorrent trackers
Defined Under Namespace
Classes: BTScraperError, UDPScrape
Constant Summary collapse
- Connection_id =
Magic Constant
0x41727101980- Actionconn =
Connection Request
0- Actionscrape =
Scrape Request
2- Actionerr =
Scrape Error
3- Defaulttimeout =
Default timeout is 15s
15- Retries =
Maximum number of retransmission
8- Sha1_regex =
Regex to check SHA1 infohashes
/^[0-9a-f]{40}$/