crabfarm 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crabfarm/cli.rb +1 -1
- data/lib/crabfarm/modes/recorder/memento.rb +5 -2
- data/lib/crabfarm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf6e7d6f8659f3c1bac2e007a467766e23c6edc8
|
4
|
+
data.tar.gz: 9831fc872ce20aa5f78fff598d774c32363da716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fdfdc33011d754a0effb063b3cd37c4c02f4cf5ea19da217de68290db4f450bb2740b109ab7202f7491ea24055475f1dc6ce22ced7af0e691b9200154a38674
|
7
|
+
data.tar.gz: e4f6d82029a3a5a9476c2c496681c2ab96f6489c83745c0726c78134c48a3a3d9c4a1af6d77594962c17323541a0f83cd555fb39d3c4d41dd28fe69b8303822d
|
data/lib/crabfarm/cli.rb
CHANGED
@@ -28,7 +28,7 @@ module Crabfarm
|
|
28
28
|
end
|
29
29
|
|
30
30
|
desc "Starts the crawler in live mode"
|
31
|
-
command [:live, :
|
31
|
+
command [:live, :l] do |c|
|
32
32
|
c.action do |global_options,options,args|
|
33
33
|
next puts "This command can only be ran inside a crabfarm application" unless GlobalState.inside_crawler_app?
|
34
34
|
|
@@ -31,9 +31,12 @@ module Crabfarm
|
|
31
31
|
driver.window_handle
|
32
32
|
sleep 1.0
|
33
33
|
end
|
34
|
+
rescue SystemExit, Interrupt
|
35
|
+
# Nothing for now
|
34
36
|
rescue Exception => e
|
35
|
-
|
36
|
-
puts e.
|
37
|
+
# Nothing for now
|
38
|
+
# puts e.class.to_s
|
39
|
+
# puts e.backtrace
|
37
40
|
end
|
38
41
|
|
39
42
|
puts "Releasing crawling context".color(:green)
|
data/lib/crabfarm/version.rb
CHANGED