# File lib/scrubyt/core/shared/u_r_i_builder.rb, line 16
    def initialize(pattern,args)
      if args[0] =~ /^http.+/
        #Figure out how are the URLs generated based on the next URL
        get_next_param(string_diff(args[0], args[1]))
        @increment = 0
        @current_uri = args[1]
        @limit = args[2][:limit] if args.size > 2
      else
        #Otherwise, do this in the 'classic' way (by clicking on the "next" link)
        @next_page_pattern = pattern
        @next_page_example = args[0]
        @limit = args[1][:limit] if args.size > 1
      end
    end