Remove fetch function and only parse nokogiri document if not provided already