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 +4 -4
- data/lib/steam_scraper/game_list_scraper.rb +4 -3
- data/lib/steam_scraper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d379bbb22e112c44df52648bd591dab509c54b5e
|
4
|
+
data.tar.gz: 765d9b1db394eae0ae7241beef91ad4bf82acd7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
85
|
-
|
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)
|