oukicyan 发表于 2011-1-24 16:04:04

地址过滤?时出错

版本:2010个人版
使用环境:win2003服务器,2G内存
BUG描述:
我想过滤地址中包含?f=sa的页面
但一运行火车头就直接关掉了
如果点测试网址出现下面错误

2011-01-24 16:02:04,023 ERROR LocoySpider.Job.LocoyNewJob [(null)] - Exception:
System.ArgumentException: parsing "pv|?f=sa" - Quantifier {x,y} following nothing.
   at System.Text.RegularExpressions.RegexParser.ScanRegex()
   at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
   at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache)
   at System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern)
   at Spider.HtmlParse.GetLinks()
   at LocoySpider.Job.LocoyNewJob.O0OO0OOOOlOl(Job OO, HtmlParse O11O1000, TreeNode O00ll10000O)
   at LocoySpider.Job.LocoyNewJob.Olll10O0O11l0l11110l11OO10()

303718 发表于 2011-1-24 19:44:51

那你只过滤这个就行了呀。f=sa
页: [1]
查看完整版本: 地址过滤?时出错