rget 2.3.7 → 2.3.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nicovideo.rb +7 -3
  3. data/rget.gemspec +1 -1
  4. data/rget.yaml +0 -20
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30a877b42365002955c5169d2a83ec9a00a8f11d
4
- data.tar.gz: cec1d6d2876950731bcc36c69ee877ad64e7b24b
3
+ metadata.gz: f4592623e75f1e437ebe4fc4ff303d94b82886ea
4
+ data.tar.gz: 430247b408017c6db87a0f54960c67fbbbea3f4c
5
5
  SHA512:
6
- metadata.gz: 6b795a6a4cb07bd3e5bb8a444e40b7daf3d74139328d0cd01dfd0d3769a111ef5359fd5f0661f766b403a928419943b4f9d962cf62cc7e79967b290b18df762d
7
- data.tar.gz: 712955e5b17362dedf5b473cdd600f2dcb256fac07754e4625293790c926660f2636e3420d28570ee38379c08b07707dfc85cc7cc7f39a8ab7357c3c7e41be3c
6
+ metadata.gz: 5b8cf205923899a9eaf3f34d43d5ab41ece25c250b232f2c82f5ef1167dc3c602eabff7c6a27a69a1be8083a5454781c014120bc24ee14d386ee68478d044e55
7
+ data.tar.gz: 2a5be05794ffb4a888c1e0c7da995f2302e4538a5590c167b23bc337f9653e22e47b90a3cafdcb200ee6b5e2e1546beb8b40a131a6f28db985cd637505bfc124
data/lib/nicovideo.rb CHANGED
@@ -24,9 +24,13 @@ class Nicovideo < WebRadio
24
24
  @mp3_file = @file.sub(/\....$/, '.mp3')
25
25
  mp3nize(@file, @mp3_file) do
26
26
  open(@file, 'wb:ASCII-8BIT') do |o|
27
- video.get_video do |body|
28
- print '.'
29
- o.write(body)
27
+ begin
28
+ video.get_video do |body|
29
+ print '.'
30
+ o.write(body)
31
+ end
32
+ rescue Niconico::Video::VideoUnavailableError => e
33
+ raise DownloadError.new(e.message)
30
34
  end
31
35
  end
32
36
  end
data/rget.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "rget"
7
- spec.version = "2.3.7"
7
+ spec.version = "2.3.8"
8
8
  spec.authors = ["TADA Tadashi"]
9
9
  spec.email = ["t@tdtds.jp"]
10
10
  spec.description = %q{Downloading newest radio programs on the web. Supported radio stations are hibiki, animate, onsen, seaside communications, niconico and youtube.}
data/rget.yaml CHANGED
@@ -46,10 +46,6 @@ programs:
46
46
  desc: ラジオ シドニアの騎士~綾と綾音の秘密の光合成~
47
47
  url: http://www.onsen.ag/program/sidonia/
48
48
  label: sidonia
49
- taizai:
50
- desc: ラジオ七つの大罪 <豚の帽子>亭ホークトーク
51
- url: http://hibiki-radio.jp/description/taizai
52
- label: 七つの大罪
53
49
  cinderella:
54
50
  desc: アニメ アイドルマスター シンデレラガールズ
55
51
  url: http://ch.nicovideo.jp/imas-cinderella/video?rss=2.0
@@ -62,14 +58,6 @@ programs:
62
58
  desc: 花澤香菜と雨宮天のRADIO GREE NIGHT
63
59
  url: https://www.youtube.com/playlist?list=PLpAhJfIVc-EcAQXGGRlOir7ctL-wNCnoq
64
60
  label: GREENIGHT
65
- rekan:
66
- desc: 今夜もざわざわ♪ レーカン!ラジオ…なんです。
67
- url: http://www.onsen.ag/program/re-kan/
68
- label: レーカン
69
- pleiades:
70
- desc: 放課後のプレアデスRADIO
71
- url: http://www.onsen.ag/program/pleiades/
72
- label: プレアデス
73
61
  euphonium:
74
62
  desc: 響け!ユーフォラジオ
75
63
  url: http://www.onsen.ag/program/euphonium/
@@ -78,14 +66,6 @@ programs:
78
66
  desc: アイドルマスターWebラジオ~クレーンキング&一番くじスペシャル~つかんでひいてぱんぱかぱーん!わたしたちも盛り上げM@S!
79
67
  url: http://ch.nicovideo.jp/search/%E3%82%A2%E3%82%A4%E3%83%89%E3%83%AB%E3%83%9E%E3%82%B9%E3%82%BF%E3%83%BC?channel_id=ch346&mode=s&sort=f&order=d&type=video
80
68
  label: ぱんぱかぱん
81
- showbyrock:
82
- desc: アニメ SHOW BY ROCK!!
83
- url: http://ch.nicovideo.jp/showbyrock_anime/video?rss=2.0
84
- label: SHOWBYROCK
85
- plamemo:
86
- desc: ミチルとザックのプラメモラジオ
87
- url: http://hibiki-radio.jp/description/plamemo
88
- label: プラメモ
89
69
  amina1422:
90
70
  desc: 佐藤亜美菜のこの世に小文字はいりません!
91
71
  url: http://feeds.feedburner.com/amina1422
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rget
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.7
4
+ version: 2.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2016-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 2.4.5.1
188
+ rubygems_version: 2.5.1
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: Downloading newest radio programs on the web.