Builds the word-list file by spidering the host and parsing the inner-text from all HTML pages. If a block is given, it will be called before all HTML pages on the host have been parsed.
# File lib/wordlist/builders/website.rb, line 28 def build!(&block) super(&block) Spidr.host(@host) do |spidr| spidr.every_page do |page| if page.html? page.doc.search('//h1|//h2|//h3|//h4|//h5|//p|//span').each do |element| parse(element.inner_text) end end end end end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.