monese_csv_downloader 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/monese_csv_downloader/version.rb +1 -1
- data/lib/monese_csv_downloader/web_client.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f084fc651e80268d4481229a49c0556e000326b8591f9690324685e95bccc84
|
4
|
+
data.tar.gz: 3f313e95ab99c3c73df2bc684e1b5a79ab99a53939582dbe89d5e60f8dfc9372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 990136b194d275c3c122bc2f73525abd59a6baadd4e9b83af58bdf43de0e5486b39b874045991d25168727d14d49bfd0b8d2afac52dbe85a6da3f514cb56f0b2
|
7
|
+
data.tar.gz: 850db4ce9f8dde0e052c9abc977a3f9d8e4fbac5b43647502af2e4aeb69fbffc6c8f130cbec4bf85daacc830003b0cfc936b841e9de404b0a6e0b4e10ca482ba
|
data/Gemfile.lock
CHANGED
@@ -12,6 +12,12 @@ module MoneseCsvDownloader
|
|
12
12
|
def browser
|
13
13
|
sleep(1) # Act like a human
|
14
14
|
@browser ||= self.firefox_browser
|
15
|
+
|
16
|
+
@screenshot_count ||= 0
|
17
|
+
@screenshot_count += 1
|
18
|
+
@browser.screenshot.save "/tmp/monese-csv-downloader-screenshot-#{@screenshot_count}.png"
|
19
|
+
|
20
|
+
@browser
|
15
21
|
end
|
16
22
|
|
17
23
|
def downloaded_file
|