Ruby-based command-line tool for downloading files through XDCC
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
bot.rb
configuration.rb
helper.rb
xdcc.rb
xlogger.rb

README.md

Ruby XDCC getter (name subject to change)

Required
  • Ruby
  • cinch (gem install cinch)
Usage

ruby xdcc.rb <server> <bot_name> <file_number> [-c <channel_name>] [-d <download_folder>] [-o <bot_log_file>]

Example

ruby xdcc.rb irc.rizon.net Cerebrate 321 -d '~/Downloads/' -o output.log -c horriblesubs

Your parameters:
*Server: irc.rizon.net
*Bot name: Cerebrate
*Requested file: 321
*Join channel: #horriblesubs
*Download folder: /Users/inket/Downloads/
*Bot log file: /Users/inket/Desktop/output.log

Starting bot...
Connecting...
Connected.
Asking Cerebrate for download 321...
Received response:
*File: MPC-HC.1.6.7.7114.x86.7z
*Size: 6.24MB

Starting download...
Download started.
MPC-HC.1.6.7.7114.x86.7z: 0/6.24MB (0%) - 0/s
MPC-HC.1.6.7.7114.x86.7z: 2.02MB/6.24MB (32%) - 2.02MB/s
MPC-HC.1.6.7.7114.x86.7z: 2.94MB/6.24MB (47%) - 936KB/s
MPC-HC.1.6.7.7114.x86.7z: 3.76MB/6.24MB (60%) - 845KB/s
MPC-HC.1.6.7.7114.x86.7z: 4.58MB/6.24MB (73%) - 834KB/s
MPC-HC.1.6.7.7114.x86.7z: 5.40MB/6.24MB (86%) - 837KB/s
Download finished.
MPC-HC.1.6.7.7114.x86.7z: 6.22MB/6.24MB (99%) - 837KB/s
Finished download. Quitting...