c# - NCrawler behaves erroneous when adding HTMLAgilityPack -
system specs: win7 64 bit, vs2013, .net 4.0
i trying make application crawl page , extract something.
i using ncrawl .net 4.0 sln. ran ncrawler.demo project , it's working (extracting sub-urls specific url). problem appears:
- when try add htmlagilitypack demo can interpret html text. if add htmlagilitypack reference demo project makes app behaves erroneous: extract first url , exit without error. tried ncrawler .net 3.5 , same problem appeared.
is known issue, there fix it?
thx
after days of investigating drawn conclusion there library conflict on methods refering htmlagilitypack.
noticed 1 of dependencies projects of ncrawler(ncrawler.htmlprocessor) contains htmlagilitypack reference, , instead of adding htmlagilitypack refernce in project nuget did, replaced htmlagilitypack htmlprocessor project(ncrawler\repository\htmlagilitypack\).
after doing this, both projects have save dll reference.
Comments
Post a Comment