cdb-crawlr 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc1a671da9a5b09c242d1a25906519e69bcce90b
4
- data.tar.gz: f05ee45348e7e6434bd79dd7d6dee7944f2c54ac
3
+ metadata.gz: 4ca16329ab880c77988bd679d1e74dcd4b279435
4
+ data.tar.gz: ae164d354f4a1e6a38fc78f892eff67de6d591d4
5
5
  SHA512:
6
- metadata.gz: 6f58717c2a4ec8eb7e6189b3322a8c13d32aa2531335e24c011a9f951400372d4f0d3cecb9ae7b7635e10fae6628680908bb7fec4539b7e9147a498c5541e0b2
7
- data.tar.gz: 6e4ffe3aa423706155968da23df50af18d2f3f76a49a592b941a9961a10d905bbb347e92203fccaa987adc4b1aba7e08e7197b92150b84b447e1329cbd5bdad2
6
+ metadata.gz: 8aade1dd94bb1285869af2c49cc542edd61b7e3447bcb51f2eb1e9d57868df5d0cdb9aedec4e70933108d34c77ed2bcb133b6309f3ca7dbf6ea7ac8fab4cb88e
7
+ data.tar.gz: 680a1e7980abca6b7c57a231ccf1d84270c83d15a6764a1b7c1f2b306db8ad9dc7e059943f15357e66ee2bee27456e2f6b4a99d598af814c572cf1da2dce3d4f
data/bin/cdb CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'cdb-crawlr'
4
- # load 'lib/cdb-crawlr.rb'
3
+ # require 'cdb-crawlr'
4
+ load 'lib/cdb-crawlr.rb'
5
5
  require 'optparse'
6
6
 
7
7
  $cli = CDB::CLI.new
@@ -11,7 +11,7 @@ require 'cdb/issue'
11
11
  require 'cdb/series'
12
12
 
13
13
  module CDB
14
- VERSION = '0.3.1'
14
+ VERSION = '0.3.2'
15
15
 
16
16
  BASE_URL = 'http://www.comicbookdb.com'
17
17
  REQUEST_HEADERS = {'Connection' => 'keep-alive'}
@@ -39,7 +39,7 @@ module CDB
39
39
  :country => page.css('strong:contains("Country: ")').first.next_sibling.text.strip,
40
40
  :language => page.css('strong:contains("Language: ")').first.next_sibling.text.strip
41
41
  )
42
- series.issues = page.css("td[width='726'] a.page_link[href^=\"#{CDB::Issue::WEB_PATH}\"]").map do |link|
42
+ series.issues = page.css("a.page_link[href^=\"#{CDB::Issue::WEB_PATH}\"]").map do |link|
43
43
  tr = link.parent.parent
44
44
  CDB::Issue.from_tr(tr, series)
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cdb-crawlr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabe Smith