示例#1
0
 public void StartCrawling()
 {
     CheckCrawler();
     acc = new Storage("DefaultEndpointsProtocol=https;AccountName=info344uwjx;AccountKey=n9u8q8z0P4CEcX6bMfR1wJAs/THsybQi+hYinHEEc8pSwtOv0lTyW6j+rQqrBSPIrTM1uPXNIr7+27JRLt0NHg==;BlobEndpoint=https://info344uwjx.blob.core.windows.net/;QueueEndpoint=https://info344uwjx.queue.core.windows.net/;TableEndpoint=https://info344uwjx.table.core.windows.net/;FileEndpoint=https://info344uwjx.file.core.windows.net/;");
     wc.CrawlUrl("https://www.cnn.com", acc.getQueue("a3-links"));
 }
示例#2
0
 public void StartCrawling()
 {
     CheckCrawler();
     acc = new StorageAccount();
     wc.CrawlUrl("https://www.cnn.com", acc.getQueue());
 }