コード例 #1
0
 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+")}");
 }
コード例 #2
0
 public IncrementPostTargetUrlsCreator(string paggerString, ITargetUrlsCreatorStopper stopper, int interval = 1) : base(paggerString, stopper, interval)
 {
 }