datahen 0.14.20 → 0.14.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/datahen/cli/scraper.rb +1 -1
- data/lib/datahen/version.rb +1 -1
- 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: 8f923e010660cda9f2510386e7837e5630a5daadc19b45bd9e7d02bf2fa6cf03
|
4
|
+
data.tar.gz: 418b684d8640a05d6b17e801a59cfe7cfa6127c807c0e9a7381c805a16650ee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc02c4b3077552096ae736ef62b480313bc2b268d37472c3c84520d98e98321d61f072731e431c2e6bf3c374b4238a7997259d5833153a321b07ed91d1c96562
|
7
|
+
data.tar.gz: 5d5fed177aab9fd93ebbe8b0fa02651dcb37c959dc44a1d7a4df14c420fe2af3f4cac633048123194b31f669284b39ef11ca868ba90d9bf64843926e518ab048
|
data/lib/datahen/cli/scraper.rb
CHANGED
@@ -93,7 +93,7 @@ module Datahen
|
|
93
93
|
option :workers, :aliases => :w, type: :numeric, desc: 'Set how many standard workers to use. Default: 1'
|
94
94
|
option :browsers, type: :numeric, desc: 'Set how many browser workers to use. Default: 0'
|
95
95
|
option :proxy_type, desc: 'Set the Proxy type. Default: standard'
|
96
|
-
option :vars, type: :string, banner: :JSON, desc: 'Set input vars. Must be in json format. i.e: {"name":"foo", "value":"bar", "secret":false} '
|
96
|
+
option :vars, type: :string, banner: :JSON, desc: 'Set input vars. Must be in json format. i.e: []{"name":"foo", "value":"bar", "secret":false}] '
|
97
97
|
def start(scraper_name)
|
98
98
|
client = Client::ScraperJob.new(options)
|
99
99
|
puts "Starting a scrape job..."
|
data/lib/datahen/version.rb
CHANGED