rget 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nicovideo.rb +1 -1
- data/rget.gemspec +1 -1
- data/rget.yaml +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5db9d3a3cf7faa1cc7068cf7e115d3ab92ba2ed7
|
4
|
+
data.tar.gz: 1761446fd227f8dbeca9ae5c5df87996cdb1e0c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b09d6f8c5775185184795797038401c2debcca3e4d2e74d183aa59baf01febcedc5f0176dc92b61e6ae48e1232a5088ddea31b9d743fac236bff32e9e4c96c38
|
7
|
+
data.tar.gz: ff2734b60b724ba56e3ddbbfdd781f54883b3a70e557fac12e065a6efeec7463df0216914cb5b5e32e4c64ccd1fe0f7174a8e8f91a06a87d1f40d6a6eb5f574b
|
data/lib/nicovideo.rb
CHANGED
@@ -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
|
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
|
+
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
|