Class: Retriever::FetchSEO
Constant Summary
Constants inherited from Fetch
Instance Attribute Summary
Attributes inherited from Fetch
Instance Method Summary collapse
-
#initialize(url, options) ⇒ FetchSEO
constructor
receives target url and RR options returns an array of onpage SEO related fields on all unique pages found on the site.
Methods inherited from Fetch
#dump, #errlog, #filter_out_querystrings, #good_response?, #lg, #start, #write
Constructor Details
#initialize(url, options) ⇒ FetchSEO
receives target url and RR options returns an array of onpage SEO related fields
on all unique pages found on the site
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/retriever/fetchseo.rb', line 7 def initialize(url, ) 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 |