|
遇到一个网站无法采集, www.westca.com 似乎无法加载目标页面, 采集时一直不显示页面下载完成, 测试规则的时候就报错,请看截图,

出错信息全文:
- See the end of this message for details on invoking
- just-in-time (JIT) debugging instead of this dialog box.
- ************** Exception Text **************
- System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
- Parameter name: index
- at System.Collections.ArrayList.get_Item(Int32 index)
- at LocoySpider.LocoyArticle.GetContent(String lname, Int32 arthtmlNum)
- at LocoySpider.LocoyArticle.Parse(Boolean ISDownload)
- at LocoySpider.LocoyRuleNew.btnPageTest_Click(Object sender, EventArgs e)
- at System.Windows.Forms.Control.OnClick(EventArgs e)
- at System.Windows.Forms.Button.OnClick(EventArgs e)
- at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
- at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
- at System.Windows.Forms.Control.WndProc(Message& m)
- at System.Windows.Forms.ButtonBase.WndProc(Message& m)
- at System.Windows.Forms.Button.WndProc(Message& m)
- at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
- at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
- at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
- ************** Loaded Assemblies **************
- mscorlib
- Assembly Version: 1.0.5000.0
- Win32 Version: 1.1.4322.573
- CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
- ----------------------------------------
- LocoySpider
- Assembly Version: 1.2.0.0
- Win32 Version: 1.2.0.0
- CodeBase: file:///D:/Web_Project/Resources/%5BLocoySpider%5D%202006-02-07V1.2.0%20Build/LocoySpider.exe
- ----------------------------------------
- System.Windows.Forms
- Assembly Version: 1.0.5000.0
- Win32 Version: 1.1.4322.573
- CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
- ----------------------------------------
- System
- Assembly Version: 1.0.5000.0
- Win32 Version: 1.1.4322.573
- CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
- ----------------------------------------
- System.Drawing
- Assembly Version: 1.0.5000.0
- Win32 Version: 1.1.4322.573
- CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
- ----------------------------------------
- Sloppycode.UI.DragDropTreeView
- Assembly Version: 1.0.0.0
- Win32 Version: 1.0.0.0
- CodeBase: file:///D:/Web_Project/Resources/%5BLocoySpider%5D%202006-02-07V1.2.0%20Build/Sloppycode.UI.DragDropTreeView.DLL
- ----------------------------------------
- CustomControls
- Assembly Version: 1.0.2038.24855
- Win32 Version: 1.0.2038.24855
- CodeBase: file:///D:/Web_Project/Resources/%5BLocoySpider%5D%202006-02-07V1.2.0%20Build/CustomControls.DLL
- ----------------------------------------
- XMLconfig
- Assembly Version: 1.0.2163.27571
- Win32 Version: 1.0.2163.27571
- CodeBase: file:///D:/Web_Project/Resources/%5BLocoySpider%5D%202006-02-07V1.2.0%20Build/XMLconfig.DLL
- ----------------------------------------
- System.Xml
- Assembly Version: 1.0.5000.0
- Win32 Version: 1.1.4322.573
- CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
- ----------------------------------------
- Microsoft.VisualBasic
- Assembly Version: 7.0.5000.0
- Win32 Version: 7.10.3052.4
- CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
- ----------------------------------------
- ************** JIT Debugging **************
- To enable just in time (JIT) debugging, the config file for this
- application or machine (machine.config) must have the
- jitDebugging value set in the system.windows.forms section.
- The application must also be compiled with debugging
- enabled.
- For example:
- <configuration>
- <system.windows.forms jitDebugging="true" />
- </configuration>
- When JIT debugging is enabled, any unhandled exception
- will be sent to the JIT debugger registered on the machine
- rather than being handled by this dialog.
复制代码 |
|