-
Milan, if you don't have it already, here's a link to the HtmlAgility Pack docs: http://htmlagilitypack.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=33903
-
Templater.cs is ALPHA code. 1.) HtmlAgilityPack is a memory hog, and should only be used when you absolutely need it. It is used in the templater code because I need XPATH support. 2.) ExtractText does a much, much better job of stripping out tags than the HtmlAgilityPack does, and it's faster as...
-
So, for our crawling setup, we need to turn on 'ExtractWebPageMetaData' and 'InsertWebPageMetaData' in the database table 'cfg.Configuration'. This will strip out all tags from our HTML and insert the text into the database table 'WebPages_MetaData'. Since we're going...
-
arachnode.net already contains support for the HtmlAgilityPack - however, the HtmlAgilityPack is a HUGE memory hog and has an extremely negative impact on crawling rate. If you can avoid it, don't use it. If you have to use it, change the configuration setting for 'ExtractWebPageMetaData'...
-
Yes. You will need to apply a specific xpath to specific hosts and directory paths. 1.) I'm not seeing an explicit OBJECT tag. Do you mean one that is rendered by JavaScript? 2.) /html/body/div[@id='baseDiv']/div[@id='watch-vid-title']/h1 Check out 'xpather' for FireFox: https...
-
Kevin is right on #1 - check out this file: http://arachnodenet.svn.sourceforge.net/viewvc/arachnodenet/trunk/SiteCrawler/Managers/WebPageManager.cs?revision=167&view=markup On line 80, if you have 'ExtractWebPageMetaData' set to true in the Configuration table in the database, then AN will...