Sha256: 841b1c2448a6368ab47b74d0a71705c0c8f1e9ccdd5e0b0f8ec8a47525294a53

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 Bytes

Contents

module Retriever
  #
  class FetchSEO < Fetch
    # recieves 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
      @data.push(@page_one.parse_seo)

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubyretriever-1.2.3 lib/retriever/fetchseo.rb
rubyretriever-1.2.2 lib/retriever/fetchseo.rb
rubyretriever-1.2.1 lib/retriever/fetchseo.rb
rubyretriever-1.2.0 lib/retriever/fetchseo.rb