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
recieves 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
Constructor Details
#initialize(url, options) ⇒ FetchSEO
recieves 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 |
# File 'lib/retriever/fetchseo.rb', line 7 def initialize(url, ) super @result.push(@page_one.parse_seo) async_crawl_and_collect # done, make sure progress bar says we are done .finish if @progress @result.sort_by! { |x| x[0].length } end |