adops_report_scrapper 0.1.22 → 0.1.23
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: baf2e5206eb476a1f34966d49549797e4eff6e04
|
4
|
+
data.tar.gz: 0ac95ba0dead4c7cad4ccb594fabf5ce0bb427f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b6554e264f5ebaccd8c535b4982aa625b39ae078c4f09306e0bdbdcc619e6ec8633e4f01a053c1155c3290a3c76ee9ca16a376f0ceca5883e7ae00fb0a99cf4
|
7
|
+
data.tar.gz: 9215b66a1b1a7574f908ab2a676aedad1521b38f4aece0f9138dab14a36aec9778c27a6784e38e376edf265c2935633dbec83e469a883d040f7cfc13600fe143
|
@@ -6,7 +6,8 @@ class AdopsReportScrapper::RhythmoneClient < AdopsReportScrapper::BaseClient
|
|
6
6
|
|
7
7
|
def login
|
8
8
|
@client.visit 'https://portal.rhythmone.com/login'
|
9
|
-
sleep
|
9
|
+
sleep 1
|
10
|
+
return if @client.find_all(:xpath, '//*[contains(text(),"REPORTING")]').count > 0
|
10
11
|
@client.fill_in 'email', :with => @login
|
11
12
|
@client.fill_in 'password', :with => @secret
|
12
13
|
@client.click_button 'Sign in'
|