rget 4.9.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -5
- 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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d65827f01054c03867de70b69123fc13d70c07ecd714f767289737efee55708b
|
|
4
|
+
data.tar.gz: 6ceacd68af3a9af25695a3ddc27ac3bc83d63a76f249f184c17aef8d2786d0ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a293295acdde2a41e766fcaf9154d7bb17210ae28ed08fd8e0ea974d36e3629bd79a129f8a0a72d522b81a51f1477dcef1dabe9321bc2c74cdc13db6a8c9aa4
|
|
7
|
+
data.tar.gz: 8c12012be6641413183517fb462c2e7b975609b538db1dcb89e533e3df78212ec98cbd6a73580c7a9372fa68d6eaa9c6198a2470ee46b0a19c6f48bc3565b026
|
data/README.md
CHANGED
|
@@ -25,9 +25,10 @@ For customize radio programs, copy `rget.yaml` to `~/.rget` or current work dire
|
|
|
25
25
|
* `~/.rget`
|
|
26
26
|
* `<command path>/../rget.yaml` (for gem)
|
|
27
27
|
|
|
28
|
-
## Installation
|
|
28
|
+
## Installation and Setup
|
|
29
29
|
```
|
|
30
30
|
$ gem install rget
|
|
31
|
+
$ rget init > ~/.rget # or your local rget.yaml
|
|
31
32
|
```
|
|
32
33
|
|
|
33
34
|
## Usage
|
|
@@ -41,14 +42,14 @@ rget yaml http://example.com/radio >> ~/.rget
|
|
|
41
42
|
# download and convert to mp3 THE iDOLM@STER Cinderella Girls Radio
|
|
42
43
|
rget imas_cg
|
|
43
44
|
|
|
44
|
-
# download
|
|
45
|
-
rget
|
|
45
|
+
# download suzakinishi only (saving movie file as .MP4)
|
|
46
|
+
rget suzakinishi --no-mp3
|
|
46
47
|
|
|
47
48
|
# srore mp3 file to specified directory
|
|
48
|
-
rget
|
|
49
|
+
rget matsui --path=/home/hoge/radio
|
|
49
50
|
|
|
50
51
|
# store mp3 file to radio folder of Dropbox
|
|
51
|
-
rget
|
|
52
|
+
rget shiny_radio --path=dropbpx://radio
|
|
52
53
|
```
|
|
53
54
|
|
|
54
55
|
### add\_mp3info command
|
data/lib/nicovideo.rb
CHANGED
|
@@ -39,7 +39,7 @@ class Nicovideo < WebRadio
|
|
|
39
39
|
_, err, status = Open3.capture3("youtube-dl -f mp4 -o #{@file} --netrc #{video.url}")
|
|
40
40
|
break if status == 0
|
|
41
41
|
next if err =~ /403: Forbidden/
|
|
42
|
-
raise ForbiddenError.new("Could not access to #{video.url}") if err =~ /TypeError/
|
|
42
|
+
raise ForbiddenError.new("Could not access to #{video.url}") if err =~ /TypeError|AssertionError/
|
|
43
43
|
raise DownloadError.new(err)
|
|
44
44
|
end
|
|
45
45
|
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 = "4.9.
|
|
7
|
+
spec.version = "4.9.1"
|
|
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, onsen, niconico, freshlive, himalaya and asobi store.}
|
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: 4.9.
|
|
4
|
+
version: 4.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TADA Tadashi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|