lib/retriever/fetchsitemap.rb in rubyretriever-1.2.4 vs lib/retriever/fetchsitemap.rb in rubyretriever-1.3.0
- old
+ new
@@ -3,9 +3,10 @@
class FetchSitemap < Fetch
# recieves target URL and RR options
# returns an array of all unique pages found on the site
def initialize(url, options)
super
+ start
@result.push(@t.target)
@result.concat(@link_stack)
async_crawl_and_collect
# done, make sure progress bar says we are done