Module: Xmfun
- Defined in:
- lib/xmfun.rb,
lib/xmfun/version.rb,
lib/xmfun/mp3/track.rb,
lib/xmfun/downloader.rb,
lib/xmfun/util/decoder.rb,
lib/xmfun/mp3/mp3_tagger.rb,
lib/xmfun/util/url_parser.rb
Defined Under Namespace
Modules: Mp3, Util Classes: Downloader
Constant Summary collapse
- VERSION =
"0.0.4"
Class Method Summary collapse
Class Method Details
.help ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/xmfun.rb', line 13 def self.help <<-HELP Usage: ruby xmfun.rb -u url -- url on xiami website -d path -- path to save your music -v -- show version -h -- show help message Example: Download song from "http://www.xiami.com/song/383221" and save to 'xuwei' folder xmfun -u http://www.xiami.com/song/383221 -d xuwei HELP end |