Sha256: debe0c4143cd2fee6f7e2f2a4802f367ff5d871c120d41e798e2f1c64f52ea0e
Contents?: true
Size: 669 Bytes
Versions: 8
Compression:
Stored size: 669 Bytes
Contents
#!/usr/bin/env ruby require 'ronin/web/spider' Ronin::Web::Spider.<%= entry_point_method -%>(<%= entry_point_argument -%>) do |agent| <%- unless @callbacks.empty? -%> <%- @callbacks.each_with_index do |(method,arguments,yield_arg),index| -%> <%- unless arguments.empty? -%> agent.<%= method -%>(<%= arguments.map(&:inspect).join(', ') -%>) do |<%= yield_arg -%>| # ... end <%- else -%> agent.<%= method -%> do |<%= yield_arg -%>| # ... end <%- end -%> <%- unless index == (@callbacks.length-1) -%> <%- end -%> <%- end -%> <%- else -%> agent.every_page do |page| puts page.url end <%- end -%> end
Version data entries
8 entries across 8 versions & 1 rubygems