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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb0e66c7b3c801d20694f0a8aa3a5d8ca5e1784d
4
- data.tar.gz: bab01282bfbe76983fa15d9364c774e7f1271428
3
+ metadata.gz: 5570bff9e1ace26d1eb808337b3bffb860d199d8
4
+ data.tar.gz: 67590ebc74d0fbe82a2977c70b60184128f8eac2
5
5
  SHA512:
6
- metadata.gz: 6ef8efea05cfb1e38032d1274bf5fec380cab9de6e5272abe9c466a4923b797210fd2e4186d05f5422aeff277973628235527a7f8f582612445e6a4f93d151a7
7
- data.tar.gz: 948cbc5fc6dd95818f5f5c88c762a10c1fb439224da713772cf487cea0078ed0888b106b1174c2b4d51e70e8614f35c46e1a6a070001519d45f01997c3925c24
6
+ metadata.gz: 86547eb5f5dc46891b55ed17cdfcf3b104c66b84629e619193ab121b0b5233a271801a6ad21f4b28e8d08fe5753e0969da999f551118d06f4db1909dc0123855
7
+ data.tar.gz: 5998d9123842fd5798b8627875172e64c30a07041ef38bb7f30bbb44b2bd6ccb1d114dca57378715512d0ea337394f6b167cd9d04473adb890eb16437ac02cc8
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.57
4
+ fix for adaptv beta
5
+
3
6
  ## 0.1.56
4
7
  fix for adtechus beta
5
8
 
@@ -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
- @client.click_button 'Sign in'
11
- @client.fill_in 'Password', :with => @secret
12
- @client.click_button 'Sign In'
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
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.1.56"
2
+ VERSION = "0.1.57"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adops_report_scrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.56
4
+ version: 0.1.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou