Sha256: 5f6aaae10f63facb3a874ad671c78a2394f919f0f7a2270f9193fba7758768b5

Contents?: true

Size: 277 Bytes

Versions: 8

Compression:

Stored size: 277 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'ncode_syosetu'

if ARGV.size == 0
  puts "ncode2mobi.rb ncode [ncode...]"
  exit
end

ARGV.each do |ncode|
  novel = NcodeSyosetu.client.get(ncode)
  novel.write_mobi("#{ncode}.mobi")
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ncode-syosetu-mobi-0.1.1 exe/ncode2mobi.rb
ncode-syosetu-mobi-0.1.0 exe/ncode2mobi.rb
ncode-syosetu-0.0.7 bin/ncode2mobi.rb
ncode-syosetu-0.0.6 bin/ncode2mobi.rb
ncode-syosetu-0.0.5 bin/ncode2mobi.rb
ncode-syosetu-0.0.4 bin/ncode2mobi.rb
ncode-syosetu-0.0.3 bin/ncode2mobi.rb
ncode-syosetu-0.0.2 bin/ncode2mobi.rb