I'm looking into a way to find objects with Nokogiri based on the actual style in the stylesheet and not the CSS Selector. I found a related link that gives me an idea of how to do it:
Is it possible to parse a stylesheet with Nokogiri?
Basically I want to do something like this
html = Nokogiri::HTML(html_string)
css = CssParser::Parser.new
css.add_block!(#some method to grab all the code from the stylesheets)
#method to find all images larger than 600px wide
#method to find related text of those images
Also I was wondering if I need to use a library like Mechanize to crawl through the whole website beyond the link I use as a starting point. Thanks!