public override void Run(bool runChildren) { var d = new GetPageUrl().Add(new DataWrite() { Attribute = "SoruceUrl", AttributeType = DataAttributeType.SourceUrl }).GetRoot(); d.SetParent(this); d.Run(); base.Run(runChildren); }
protected string GetUrl() { Rawler.Tool.GetPageUrl url = new GetPageUrl(); url.SetParent(this.Parent); url.Run(); return url.Text; }