rget 4.9.0 → 4.9.1

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/README.md +6 -5
  3. data/lib/nicovideo.rb +1 -1
  4. data/rget.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb55840b853e5fdb7a25521b025c3fb4cd18d164c8ad28c33896e113b1f2f5b2
4
- data.tar.gz: 5ee1cde4d467a0cb7f641280bfbd663fba4f1d8eccca6c93a6946d61d8545128
3
+ metadata.gz: d65827f01054c03867de70b69123fc13d70c07ecd714f767289737efee55708b
4
+ data.tar.gz: 6ceacd68af3a9af25695a3ddc27ac3bc83d63a76f249f184c17aef8d2786d0ab
5
5
  SHA512:
6
- metadata.gz: 9329208c0d637d37b7c6e4f7dc7df19e8809b035e692b50571c6888ebab4d5e7548e5db110ad81c50991953ab7f36f0a6955c6bd3651e3e8a6607dd638925ae2
7
- data.tar.gz: 2fd48e4acf50937d818e203cf47a9d9222a55707e20ca7ae23e40fcacd8d02640a886a28bfd8fbc3e5fd532ae18ef19f19b2d2e5adb9b72fe5e7f9b009c1760c
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 takamori only (saving movie file as .MP4)
45
- rget takamori --no-mp3
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 suzakinishi --path=/home/hoge/radio
49
+ rget matsui --path=/home/hoge/radio
49
50
 
50
51
  # store mp3 file to radio folder of Dropbox
51
- rget matsui --path=dropbpx://radio
52
+ rget shiny_radio --path=dropbpx://radio
52
53
  ```
53
54
 
54
55
  ### add\_mp3info command
@@ -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
@@ -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.0"
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.0
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: 2019-12-07 00:00:00.000000000 Z
11
+ date: 2020-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor