Sha256: 3c3d7e9fc218ce56006b98f57a1aabd3047547f77e23ff47486a2f518c06c1dd

Contents?: true

Size: 467 Bytes

Versions: 7

Compression:

Stored size: 467 Bytes

Contents

module Retriever
  #
  class FetchSEO < Fetch
    # receives target url and RR options
    # returns an array of onpage SEO related fields
    #   on all unique pages found on the site
    def initialize(url, options)
      super
      start
      @result.push(@page_one.parse_seo)

      async_crawl_and_collect
      # done, make sure progress bar says we are done
      @progressbar.finish if @progress
      @result.sort_by! { |x| x[0].length }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubyretriever-1.4.6 lib/retriever/fetchseo.rb
rubyretriever-1.4.5 lib/retriever/fetchseo.rb
rubyretriever-1.4.4 lib/retriever/fetchseo.rb
rubyretriever-1.4.3 lib/retriever/fetchseo.rb
rubyretriever-1.4.2 lib/retriever/fetchseo.rb
rubyretriever-1.4.1 lib/retriever/fetchseo.rb
rubyretriever-1.4.0 lib/retriever/fetchseo.rb