driller 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/driller +3 -3
- data/lib/driller/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Nzk3ZDg5ZmU2NzUwNmY4ZWVmNjE2NjQ1MmZjYTA4YjJjNDA2NjU2ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGJhMTdmNWYzNTgwMjkxZDYyOTM3MTc0NDdiM2UwYjljYWM2ZGQ4MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTc0MzNlODQ1NzNmMjhiZWQ0OTJhMjc0ZjQ5ZTE5M2FiZGE4N2UyNDI0MDVj
|
10
|
+
ZDY2YzJjY2VlMTA1ZjFmYTBkOGFjYzRhYzRiNjM0YzgyMGU2MzA3OTYzYTc1
|
11
|
+
MTI0NWQ4NDYzYzM5NDFjODFhYTg1NDhhYzQzNmRkNDRjMjdkYjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDBhMjA4OTlhYzM3NzdhNmRiMTdhOTJiMmMxYTU4MDhhZjMxOWM4MTJjZTIx
|
14
|
+
Yjk1MWU0ZmFhMGI2NjA4NTY4ZGViMWRiYWViNjQ5NDE0YmU2YTViNTk1NTU1
|
15
|
+
OTM1MGJkNGJmNGM1MzVmZWE4NThhYzdjZmQ3ZDExMzliNTRkY2Y=
|
data/bin/driller
CHANGED
@@ -9,7 +9,7 @@ URL = ARGV[0]
|
|
9
9
|
|
10
10
|
Anemone.crawl(URL) do |anemone|
|
11
11
|
|
12
|
-
anemone.depth_limit =
|
12
|
+
anemone.depth_limit = ARGV[1]
|
13
13
|
|
14
14
|
anemone.focus_crawl do |page|
|
15
15
|
page.links.select { |url| url.starts_with? URL }
|
@@ -52,8 +52,8 @@ def print_usage
|
|
52
52
|
<command-name> can be one of
|
53
53
|
help
|
54
54
|
prints more detailed help information.
|
55
|
-
url
|
56
|
-
crawl the url and reports error pages and slow paged
|
55
|
+
url and depth
|
56
|
+
crawl the url and reports error pages and slow paged upto depth level specified
|
57
57
|
version
|
58
58
|
prints the gem version
|
59
59
|
|
data/lib/driller/version.rb
CHANGED