Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to stop crawling (and start crawling async) #125

Closed
GoogleCodeExporter opened this issue Sep 13, 2015 · 1 comment
Closed

Possibility to stop crawling (and start crawling async) #125

GoogleCodeExporter opened this issue Sep 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Once the Crawl method has been called, there is no way to stop the crawling. 
This is a big issue when launching the crawler on big sites.


Original issue reported on code.google.com by finizio...@gmail.com on 17 Jan 2014 at 2:30

@GoogleCodeExporter
Copy link
Author

Cancellation was implemented in version 1.2.3 (not released yet but available 
here https://github.com/sjdirect/abot/tree/1.2.3). 

You can start the crawl asynchronously with cancellation support like so..

Task.Factory.StartNew( () => {
    crawler.Crawl(new Uri("http://aaa.com"), cancellationToken);
 }, cancellationToken)

Original comment by sjdir...@gmail.com on 17 Jan 2014 at 4:23

  • Changed state: Duplicate
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant