arachnid 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/arachnid.rb +1 -1
- metadata +1 -1
data/lib/arachnid.rb
CHANGED
@@ -32,7 +32,7 @@ class Arachnid
|
|
32
32
|
|
33
33
|
@global_queue << @start_url
|
34
34
|
|
35
|
-
while(@global_queue.size > 0 && (max_urls
|
35
|
+
while(@global_queue.size > 0 && (max_urls.nil? || @global_visited.size.to_i < max_urls))
|
36
36
|
temp_queue = @global_queue
|
37
37
|
|
38
38
|
temp_queue.each do |q|
|