rget 2.2.1 → 2.2.2
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
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07c0811c892fecc7aeac00322ba094560be8d8ac
|
4
|
+
data.tar.gz: f86dd28fc574307fd8cddbbddd6e0bef22195e97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f623844f4690aee589821a6028423623b3eb818c9795ddfe601ba1cac00ad7721a98ae0ac889eb3b0fde927899d775f36aa2e4ac16a2332f533b5aa87db1d757
|
7
|
+
data.tar.gz: 6c8cecc8ead79aafc0766e3788ac6e0909dfba38faf3845d082d132daef874665cad339f5107d6785e90c516caf8c6c06abfafd31de1afb06d5440bd3541a765
|
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(/(?:[#第]|
|
22
|
+
serial = video.title.scan(/(?:[#第]|[ ]EP)(\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.2.
|
7
|
+
spec.version = "2.2.2"
|
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.}
|
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.2.
|
4
|
+
version: 2.2.2
|
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-02-
|
11
|
+
date: 2015-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|