steam_scraper 1.1.2 → 1.1.3

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: c326cc167e49bb0e3bb10cfbdfb13bc04e3c4287
4
- data.tar.gz: 8a0ea223837ab148f95d605205942cf94261df85
3
+ metadata.gz: d379bbb22e112c44df52648bd591dab509c54b5e
4
+ data.tar.gz: 765d9b1db394eae0ae7241beef91ad4bf82acd7b
5
5
  SHA512:
6
- metadata.gz: 122960859d42694581dbfe9d020c34774097ce2b1eb21c899ac680f4d8ba7140bec1e5357e0d4d40026b795e524a702f8d93e2788e149c553b2535a575a0e22a
7
- data.tar.gz: 9995ff0a83a228874dbc4fb4faf1da2649a7b2b4f85573498578243fcd63590ec1cae20312fb911b268fe64f84d0c88c649abcbcf60fdd728bbb316014d5a8bd
6
+ metadata.gz: 27781291f4b79d9b614742e5c4ab88e8f04c70eb0b783a83608f77e21798d0521e1e44bbe04819c5cb5788d90d699ef5300be4c7907c8e282adb590ffc1f95f7
7
+ data.tar.gz: ba06bbfa1507a5b2b2a7964b5faecc7c928e2336da695ba97d0b4208a6f92ce49dcace3b3f25ad743c9b9c0bfbceeb0b75dea05d58c2dc56e2ccd828a45ec769
@@ -80,9 +80,10 @@ class GameListScraper
80
80
  end
81
81
 
82
82
  def get_review_contents(entry)
83
- entry.xpath(".//span[contains(@class, 'search_review_summary')]")
84
- .attribute('data-store-tooltip')
85
- .value
83
+ node = entry.xpath(".//span[contains(@class, 'search_review_summary')]")
84
+ result = node.attribute('data-store-tooltip').value unless node.nil?
85
+
86
+ result
86
87
  end
87
88
 
88
89
  def scrape_review_score(entry)
@@ -1,3 +1,3 @@
1
1
  module SteamScraper
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steam_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Gardner