adops_report_scrapper 0.1.56 → 0.1.57
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/lib/adops_report_scrapper/adaptv_client.rb +12 -3
- data/lib/adops_report_scrapper/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: 5570bff9e1ace26d1eb808337b3bffb860d199d8
|
4
|
+
data.tar.gz: 67590ebc74d0fbe82a2977c70b60184128f8eac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86547eb5f5dc46891b55ed17cdfcf3b104c66b84629e619193ab121b0b5233a271801a6ad21f4b28e8d08fe5753e0969da999f551118d06f4db1909dc0123855
|
7
|
+
data.tar.gz: 5998d9123842fd5798b8627875172e64c30a07041ef38bb7f30bbb44b2bd6ccb1d114dca57378715512d0ea337394f6b167cd9d04473adb890eb16437ac02cc8
|
data/CHANGELOG
CHANGED
@@ -7,9 +7,18 @@ class AdopsReportScrapper::AdaptvClient < AdopsReportScrapper::BaseClient
|
|
7
7
|
def login
|
8
8
|
@client.visit 'https://onevideo.aol.com/#/logon'
|
9
9
|
@client.fill_in 'adaptv_email', :with => @login
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
begin
|
11
|
+
@client.fill_in 'Password', :with => @secret
|
12
|
+
rescue Exception => e
|
13
|
+
@client.find_all(:button).first.click
|
14
|
+
sleep 10
|
15
|
+
@client.fill_in 'Password', :with => @secret
|
16
|
+
@client.find_all(:button).first.click
|
17
|
+
sleep 10
|
18
|
+
@client.fill_in 'adaptv_email', :with => @login
|
19
|
+
end
|
20
|
+
@client.find_all(:button).first.click
|
21
|
+
sleep 10
|
13
22
|
begin
|
14
23
|
@client.find :xpath, '//*[text()="Analytics"]'
|
15
24
|
rescue Exception => e
|