adops_report_scrapper 0.2.33 → 0.2.34
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/sovrn_client.rb +7 -1
- data/lib/adops_report_scrapper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf4ac1a315226d668a8af808d33bd889b69ee081
|
4
|
+
data.tar.gz: 58225251358703f7d69cf821b020c7e918b55fdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb157ca70b584aeddc044b1f5523f8f622fd0d8890081cc1244b26217daf8e44289c57e779ae85bea8e52769d76a9aec083ccf55a92393036cc8381234a84d13
|
7
|
+
data.tar.gz: 271b472d8ffb9ad0a13207ac89cc1d12ee5b92047ebe3f63a18bfe99e205de97b48b73ec3aef539dbde6884cc180f940d0e4f3e36c90a2304c1fcf9b62df1e5b
|
data/CHANGELOG
CHANGED
@@ -39,6 +39,7 @@ class AdopsReportScrapper::SovrnClient < AdopsReportScrapper::BaseClient
|
|
39
39
|
@client.fill_in 'login_username', :with => @login
|
40
40
|
@client.fill_in 'login_password', :with => @secret
|
41
41
|
@client.click_link 'Log In'
|
42
|
+
sleep 5
|
42
43
|
|
43
44
|
begin
|
44
45
|
@client.find :xpath, '//*[text()="Account"]'
|
@@ -60,15 +61,20 @@ class AdopsReportScrapper::SovrnClient < AdopsReportScrapper::BaseClient
|
|
60
61
|
@client.visit 'https://meridian.sovrn.com/#account/my_downloads'
|
61
62
|
sleep 5
|
62
63
|
end
|
63
|
-
@client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
|
64
64
|
|
65
65
|
@client.fill_in 'adstats-date-range-start-month', :with => @date.strftime('%m')
|
66
|
+
@client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
|
66
67
|
@client.fill_in 'adstats-date-range-start-day', :with => @date.strftime('%d')
|
68
|
+
@client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
|
67
69
|
@client.fill_in 'adstats-date-range-start-year', :with => @date.strftime('%Y')
|
70
|
+
@client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
|
68
71
|
|
69
72
|
@client.fill_in 'adstats-date-range-end-month', :with => @date.strftime('%m')
|
73
|
+
@client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
|
70
74
|
@client.fill_in 'adstats-date-range-end-day', :with => @date.strftime('%d')
|
75
|
+
@client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
|
71
76
|
@client.fill_in 'adstats-date-range-end-year', :with => @date.strftime('%Y')
|
77
|
+
@client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
|
72
78
|
|
73
79
|
@client.find_all(:xpath, '//button[text()=" Download "]').first.click
|
74
80
|
|
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.34
|
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-
|
11
|
+
date: 2017-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|