WhatWeb icon indicating copy to clipboard operation
WhatWeb copied to clipboard

TODO: REVIEW: should this use prepare_target?

Open bcoles opened this issue 4 years ago • 0 comments

    def add_target(url, redirect_counter = 0)
      # TODO: REVIEW: should this use prepare_target?
      target = Target.new(url, redirect_counter)

      unless target
        error("Add Target Failed - #{url}")
        return
      end

      @target_queue << target
    end

bcoles avatar Oct 03 '20 03:10 bcoles