def href_of(scope, selector)
      if node = scope.css(selector).first
        node.attr('href')
      end
    end
def href_of(scope, selector)
      if node = scope.css(selector).first
        node.attr('href')
      end
    end
tries to find the first <selector> in <scope> and read its href
 attribute, returns nil elsewise