brandeins-dl 0.0.7 → 0.0.8
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.
- data/lib/brandeins-dl.rb +2 -1
- data/lib/brandeins-dl/version.rb +1 -1
- metadata +3 -3
data/lib/brandeins-dl.rb
CHANGED
|
@@ -27,7 +27,7 @@ module BrandEins
|
|
|
27
27
|
b1.get_magazines_of_year(options.year)
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
desc 'download', 'Download
|
|
30
|
+
desc 'download', 'Download a specific volume'
|
|
31
31
|
method_option :path, :type => :string, :required => true
|
|
32
32
|
method_option :volume, :type => :numeric, :required => true
|
|
33
33
|
method_option :year, :type => :numeric, :required => true
|
|
@@ -161,6 +161,7 @@ module BrandEins
|
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
def get_magazine_links_by_year(year = 2000)
|
|
164
|
+
setup
|
|
164
165
|
puts "Loading Magazine from year #{year}"
|
|
165
166
|
magazine_nodes_with_meta = @doc.css(".jahrgang-#{year} ul li")
|
|
166
167
|
magazine_links = Array.new
|
data/lib/brandeins-dl/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: brandeins-dl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.8
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Gregory Igelmund
|
|
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
78
78
|
requirements:
|
|
79
79
|
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
hash:
|
|
81
|
+
hash: -3513034641520695490
|
|
82
82
|
segments:
|
|
83
83
|
- 0
|
|
84
84
|
version: "0"
|
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
87
|
requirements:
|
|
88
88
|
- - ">="
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
|
-
hash:
|
|
90
|
+
hash: -3513034641520695490
|
|
91
91
|
segments:
|
|
92
92
|
- 0
|
|
93
93
|
version: "0"
|