viddl-rb 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/plugins/bandcamp.rb +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: f458e70cdcb02d38e9d58dae9def3f9e2f8024e4
|
4
|
+
data.tar.gz: d9a8034ca3cf2cb2e40b1b950dc0b99f9dde15e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4c875d9f2d1f3ba8327d17f884809f982072277f859dcc3808d6ad1708fcb09dc163a0c72c41cdfdfbf171b614872f7ebe180be287e987cc2b51b782f2222d0
|
7
|
+
data.tar.gz: 3f8409ba0a9fec178a2851924e787da667c5afc6b89018b78e2cf7aa04f19b7c97848c38c5465f8c63a2fe24cbd54ae5a24b52e43b8c9249f9603a183e03c80a
|
data/plugins/bandcamp.rb
CHANGED
@@ -15,7 +15,7 @@ class Bandcamp < PluginBase
|
|
15
15
|
url_and_files = []
|
16
16
|
doc = Nokogiri::HTML(open(get_http_url(url)))
|
17
17
|
js = doc.at("script:contains('var TralbumData')").text
|
18
|
-
match =
|
18
|
+
match = /trackinfo\s?:\s?([\s\S]*?\}\])/.match(js)[1]
|
19
19
|
|
20
20
|
# parse the js object
|
21
21
|
JSON.parse(match).each do |track_data|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viddl-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Seeger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|