adops_report_scrapper 0.2.51 → 0.2.52
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: cf42c1eb4ebc209d9f9b0a1ad5f5f59af72910f7
|
4
|
+
data.tar.gz: 017682bcfc1a756875f5ccae9b593a14a69c9ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8d9cd3c191a0c83a3ff5672605928d3f535a3a5b0cc68e31fd379855913152f31303b4bcb1acea763fa58a95aecd1cd4d43d74088304992377ac08c21aa6d4d
|
7
|
+
data.tar.gz: dfd4ef2b5331d255f3fdecd5bdd294b1e1b564459d92a8ced0a00bd256755f1c727f864fab06b5b6dd22f5744d08f09e431e01f97ede05deec62a0865cf0b8fa
|
data/CHANGELOG
CHANGED
@@ -2,6 +2,13 @@ require 'date'
|
|
2
2
|
require_relative 'base_client'
|
3
3
|
|
4
4
|
class AdopsReportScrapper::AdaptvClient < AdopsReportScrapper::BaseClient
|
5
|
+
def init_client
|
6
|
+
Capybara.register_driver :selenium do |app|
|
7
|
+
Capybara::Selenium::Driver.new(app, :browser => :firefox)
|
8
|
+
end
|
9
|
+
@client = Capybara::Session.new(:selenium)
|
10
|
+
end
|
11
|
+
|
5
12
|
private
|
6
13
|
|
7
14
|
def login
|
@@ -2,6 +2,13 @@ require 'date'
|
|
2
2
|
require_relative 'base_client'
|
3
3
|
|
4
4
|
class AdopsReportScrapper::AdtechusClient < AdopsReportScrapper::BaseClient
|
5
|
+
def init_client
|
6
|
+
Capybara.register_driver :selenium do |app|
|
7
|
+
Capybara::Selenium::Driver.new(app, :browser => :firefox)
|
8
|
+
end
|
9
|
+
@client = Capybara::Session.new(:selenium)
|
10
|
+
end
|
11
|
+
|
5
12
|
private
|
6
13
|
|
7
14
|
def login
|
@@ -38,7 +38,7 @@ class AdopsReportScrapper::SovrnClient < AdopsReportScrapper::BaseClient
|
|
38
38
|
end
|
39
39
|
@client.fill_in 'login_username', :with => @login
|
40
40
|
@client.fill_in 'login_password', :with => @secret
|
41
|
-
@client.
|
41
|
+
@client.click_button 'Log In'
|
42
42
|
sleep 5
|
43
43
|
|
44
44
|
begin
|
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.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stayman Hou
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|