protected BaseIncrementTargetUrlsCreator(string paggerString, ITargetUrlsCreatorStopper stopper, int interval = 1) { if (string.IsNullOrEmpty(paggerString)) { throw new SpiderException("PaggerString should not be null."); } PaggerString = paggerString; Interval = interval; Stopper = stopper; PaggerPattern = new Regex($"{RegexUtil.NumRegex.Replace(PaggerString, @"\d+")}"); }
public IncrementPostTargetUrlsCreator(string paggerString, ITargetUrlsCreatorStopper stopper, int interval = 1) : base(paggerString, stopper, interval) { }