rget 2.3.4 → 2.3.5

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 +1 -1
  3. data/rget.gemspec +1 -1
  4. data/rget.yaml +4 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd139e6e3da1eefab31e778df1d32bf3f1c51f08
4
- data.tar.gz: 7aaebb0f79d1ccb553b6be6d683af5429b710f4a
3
+ metadata.gz: 5db9d3a3cf7faa1cc7068cf7e115d3ab92ba2ed7
4
+ data.tar.gz: 1761446fd227f8dbeca9ae5c5df87996cdb1e0c4
5
5
  SHA512:
6
- metadata.gz: 7c8fa62c805419b21cd1f31acf0052131a550f451236278c6303b6ad2b8e67cd37e3c2d8760d2945652b32458a427cd92b651a23f5b4f85f56af3a20faa0ada2
7
- data.tar.gz: 3de37b0a330625e365c0045c56bbc0b3dfaba74ec7cc77b4ba6215a6ef605ba732c33e40afbbef9c29e8ef485126c9a3d63cd4eedf7f299db208f98606e5c834
6
+ metadata.gz: b09d6f8c5775185184795797038401c2debcca3e4d2e74d183aa59baf01febcedc5f0176dc92b61e6ae48e1232a5088ddea31b9d743fac236bff32e9e4c96c38
7
+ data.tar.gz: ff2734b60b724ba56e3ddbbfdd781f54883b3a70e557fac12e065a6efeec7463df0216914cb5b5e32e4c64ccd1fe0f7174a8e8f91a06a87d1f40d6a6eb5f574b
@@ -19,7 +19,7 @@ class Nicovideo < WebRadio
19
19
  def download(name)
20
20
  player_url = get_player_url(@url)
21
21
  video = @nico.video(Pathname(URI(player_url).path).basename.to_s)
22
- serial = video.title.scan(/(?:[#第]|[  ]EP)(\d+)|/).flatten.compact[0].to_i
22
+ serial = video.title.scan(/(?:[#第]|[  ]EP|track-)(\d+)|/).flatten.compact[0].to_i
23
23
  @file = "#{name}##{'%02d' % serial}.#{video.type}"
24
24
  @mp3_file = @file.sub(/\....$/, '.mp3')
25
25
  mp3ize(@file, @mp3_file) do
@@ -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.4"
7
+ spec.version = "2.3.5"
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
@@ -78,4 +78,7 @@ programs:
78
78
  desc: アイドルマスターWebラジオ~クレーンキング&一番くじスペシャル~つかんでひいてぱんぱかぱーん!わたしたちも盛り上げM@S!
79
79
  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
80
  label: ぱんぱかぱん
81
-
81
+ showbyrock:
82
+ desc: アニメ SHOW BY ROCK!!
83
+ url: http://ch.nicovideo.jp/showbyrock_anime/video?rss=2.0
84
+ label: SHOWBYROCK
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rget
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi