rget 2.1.0 → 2.1.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/lib/nicovideo.rb +2 -2
- data/rget.gemspec +1 -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: 763df07003efcec47e65ac5451134be3337b4a67
|
|
4
|
+
data.tar.gz: 6177207f17ecfedaa34419b90f5f1e339dda937f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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.
|
|
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.}
|