Closed nzbart closed 4 years ago
There is a project called Abot2.Demo that exercises Abot2 lib code and the Abot.Demo exercises the older version. ShouldCrawlPage has been renamed to ShouldCrawlPageDecisionMaker in Abot2.
I'll update the docs, i can see why that is confusing. Thanks for reporting.
Updated docs and added warning at the top of Abot.Demo.Program.cs pointing out that demo exercises old code and the newer code is exercised in the Abot2.Demo project.
We're upgrading from Abot 1.x to 2., and I'm trying to see how the new 2.x version should work. I tried copying code from the Readme where
ShouldCrawlPage
is called onPoliteWebCrawler
, but it doesn't compile for me becauseShouldCrawlPage
is inaccessible:I also tried copying code from the demo project, but it doesn't appear to have been upgraded for Abot 2.x and doesn't compile out of the box. Updating this project to 2.x would be helpful because I could then learn from the changes that you make during the upgrade.