Example #1
0
        public Crawler()
        {
            PickLinksWorker pickWorker = new PickLinksWorker();

            _pickLinks = new PickLinks(log, pickWorker);

            PageDownloadWorker pWorker = new PageDownloadWorker(_pickLinks);

            pWorker.EventEndOfCrawl += new PageDownloadWorker.DGProgressInfo(pWorker_EventEndOfCrawl);

            _pageDownload = new PageDownload(log, pWorker);

            // Für die Rückkopplung benötigt PickLinks eine Referenz auf PageDownload
            pickWorker.pageDownloadQueue = _pageDownload;
        }
Example #2
0
 public PageDownloadWorker(PickLinks pickLinks)
 {
     this._pickLinks  = pickLinks;
     this.pickLinksBp = (DMS.IBatchProcessing)_pickLinks;
 }