def check_web_status(hsh)
      status = 'invalid' if hsh[:web_neg]&.include?('error')

      if hsh[:url] && hsh[:url_f] && status.nil?
        status = hsh[:url] != hsh[:url_f] ? 'formatted' : 'unchanged'
      end

      hsh[:web_status] = status if status.present?
      hsh
    end
def check_web_status(hsh)
      status = 'invalid' if hsh[:web_neg]&.include?('error')

      if hsh[:url] && hsh[:url_f] && status.nil?
        status = hsh[:url] != hsh[:url_f] ? 'formatted' : 'unchanged'
      end

      hsh[:web_status] = status if status.present?
      hsh
    end
COMPARE ORIGINAL AND FORMATTED URL