hotel_price 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hotel_price/rakuten/rakuten_scraper.rb +5 -6
- data/lib/hotel_price/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af74d95122d0b35c9df9a0126d0f8b0c2aa7c2dac9238313e86a7f0d04c46726
|
4
|
+
data.tar.gz: 25b9a446368232c0bb47b1f9992455e5071605bff9916b83eef162ec663cbaf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d17b811ce0a540bc75828c8bb9d64bd5b1fa151ad99a71969b40311bf50973da50141b08f145a7d414df129c99c255d55d3bf2e9e22ef2435b823ad8098cbfd
|
7
|
+
data.tar.gz: cf0214442e7a032472abb8fcdde0ccfcfb27ccce9cd90d82804362a43ad11511c4803b75627d7fbca4b120fcda8c2d79e87def73abd35978b8daa34dd88b808a
|
@@ -76,12 +76,11 @@ module HotelPrice::Rakuten
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def self.get_selenium_driver
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
options
|
83
|
-
options
|
84
|
-
Selenium::WebDriver.for :firefox, options: options
|
79
|
+
firefox_capabilities = Selenium::WebDriver::Remote::Capabilities.firefox
|
80
|
+
Selenium::WebDriver.for(:remote, url: "http://hub:4444/wd/hub", desired_capabilities: firefox_capabilities)
|
81
|
+
# options = Selenium::WebDriver::Firefox::Options.new
|
82
|
+
# options.add_argument("-headless")
|
83
|
+
# Selenium::WebDriver.for :firefox, options: options
|
85
84
|
end
|
86
85
|
|
87
86
|
end
|
data/lib/hotel_price/version.rb
CHANGED