Skip to content

Commit

Permalink
Updated readme [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdirect committed Mar 14, 2015
1 parent 7769ac3 commit d4e60b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void crawler_ProcessPageCrawlStarting(object sender, PageCrawlStartingArgs e)
```
6: Run the crawl
```c#
CrawlResult result = crawler.Crawl(new Uri("http://localhost:1111/"));
CrawlResult result = crawler.Crawl(new Uri("http://localhost:1111/")); //This is synchronous, it will not go to the next line until the crawl has completed
if (result.ErrorOccurred)
Console.WriteLine("Crawl of {0} completed with error: {1}", result.RootUri.AbsoluteUri, result.ErrorException.Message);
Expand Down

0 comments on commit d4e60b6

Please sign in to comment.