brandeins-dl 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
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 all magazines of the defined year'
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
@@ -1,3 +1,3 @@
1
1
  module BrandEins
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
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.7
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: 3024033610115375201
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: 3024033610115375201
90
+ hash: -3513034641520695490
91
91
  segments:
92
92
  - 0
93
93
  version: "0"