Exemplo n.º 1
0
        public void InitializeCrawl(ICrawlDaddy crawl)
        {
            _wrapper = new CrawlDaddyAsyncWrapper();
            _wrapper.ProgressChanged += _wrapper_ProgressChanged;
            _wrapper.CrawlCompleted  += _wrapper_CrawlCompleted;

            _externalLinks = new List <string>();
            _linksCrawled  = new List <string>();
            Reset();
            _crawl = crawl;

            lblCrawlerId.Text  = _crawl.CrawlerId.ToString();
            txtSeedUrl.Text    = _crawl.Seed.AbsoluteUri;
            lblBaseDomain.Text = _crawl.BaseDomain;
        }
Exemplo n.º 2
0
        public void InitializeCrawl(ICrawlDaddy crawl)
        {
            _wrapper = new CrawlDaddyAsyncWrapper();
            _wrapper.ProgressChanged += _wrapper_ProgressChanged;
            _wrapper.CrawlCompleted += _wrapper_CrawlCompleted;

            _externalLinks = new List<string>();
            _linksCrawled = new List<string>();
            Reset();
            _crawl = crawl;

            lblCrawlerId.Text = _crawl.CrawlerId.ToString();
            txtSeedUrl.Text = _crawl.Seed.AbsoluteUri;
            lblBaseDomain.Text = _crawl.BaseDomain;
        }