rget 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nicovideo.rb +2 -2
  3. data/rget.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9bbcdd295bd2264f6956c5ec29bc69936b3e1219
4
- data.tar.gz: 723353449908d108711640f531098eeb6777ea6b
3
+ metadata.gz: 763df07003efcec47e65ac5451134be3337b4a67
4
+ data.tar.gz: 6177207f17ecfedaa34419b90f5f1e339dda937f
5
5
  SHA512:
6
- metadata.gz: 529dea3909e06650a821dca237d6591e7849f5542c741e268952f50c463cdcf3e1e1423bfda6218708975691bae415537bd7d99816d8a5a44d7eedd76cbe1b97
7
- data.tar.gz: 79ffe2a9dbc7c295cf269a7e67f7c5dd720e419b3eee152912304d5054333e639956bc105bb5f6a74e0164b5c62dbdb786d507790c0ed32a131b0d416693f81b
6
+ metadata.gz: ffe7d01d105939fb1db3a3b652c4878a5543d6970f680583a8fb17568365ea34b502d1831535d86e62d0230ec9733b251ecc321fa55eec8309a2b47fdd049961
7
+ data.tar.gz: 24bdd00f877774cd8b4f90d0879ab3148dabee61545e87e8fa08d1e237be53063c1057cd4184eb860e60eff51e487e2ec49f128e427c8657968c123a8c0a48f4
data/lib/nicovideo.rb CHANGED
@@ -40,9 +40,9 @@ private
40
40
  return item.link
41
41
  rescue RSS::NotWellFormedError
42
42
  html = open(list_url, &:read)
43
- url = html.scan(%r|http://www.nicovideo.jp/watch/[\w]+|).first
43
+ url = html.scan(%r|/watch/[\w]+|).first
44
44
  raise WebRadio::DownloadError.new('video not found in this pege') unless url
45
- return url
45
+ return "http://www.nicovideo.jp#{url}"
46
46
  end
47
47
  end
48
48
  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 = "2.1.0"
7
+ spec.version = "2.1.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, animate, onsen, seaside communications, niconico and youtube.}
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.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi