private IRuleValue RenderOne(ISpiderContainer container, IRuleValue value) { var content = value.ToString(); GetUrlFromCustom(container, ref content); return(new RuleString(content)); }
private IRuleValue RenderOne(ISpiderContainer container, IRuleValue value) { var content = value.ToString(); if (container.Url.Type == UriType.Css) { GetUrlFromCss(container, ref content); } else { GetUrlFromHtml(container, ref content); } return(new RuleString(content)); }