adops_report_scrapper 0.2.27 → 0.2.28
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9a3c43588406d7cab83467fdf7da34747cd794e
|
4
|
+
data.tar.gz: 66c4f19f40b9c957178fa0081d9b609c5b5bd333
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01d805112eb0ff90f1d90ed21815bd0bcc3b28b374f525d0e6ebc1e19233726aea8345190873abd228bfe562be7edf18cfaa81f54a8689cd1872d4b64da788b2
|
7
|
+
data.tar.gz: b52ced1284c164a7bd162d5cf2cf6be807160a1cb2bdedcf020bab9961b8e26315af15923a075b5d559edc732658c22fad8d0daa4028861d32d397a70f96517a
|
@@ -77,8 +77,9 @@ class AdopsReportScrapper::TremorClient < AdopsReportScrapper::BaseClient
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def extract_data_from_report
|
80
|
+
sleep 10
|
80
81
|
page = Nokogiri::HTML @client.html
|
81
|
-
rows = page.xpath '//table[@id="
|
82
|
+
rows = page.xpath '//table[@id="recentReportResults"]/*/tr'
|
82
83
|
@data = rows.map { |tr| tr.css('td,th').map { |td| td.text } }
|
83
84
|
end
|
84
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adops_report_scrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stayman Hou
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|