示例#1
0
 public static RawlerBase Page(this RawlerBase rawler, string url)
 {
     return(rawler.Add(new Page()
     {
         Url = url
     }));
 }
示例#2
0
 public static RawlerBase Tags(this RawlerBase rawler, string tag)
 {
     return(rawler.Add(new Tags()
     {
         Tag = tag
     }));
 }
示例#3
0
 public static RawlerBase Tags(this RawlerBase rawler, string tag, string className)
 {
     return(rawler.Add(new Tags()
     {
         Tag = tag, ClassName = className
     }));
 }
示例#4
0
 public static RawlerBase TagClear(this RawlerBase rawler, ReplaceType replece)
 {
     return(rawler.Add(new TagClear()
     {
         ReplaceType = replece
     }));
 }
示例#5
0
 public static RawlerBase DataWrite(this RawlerBase rawler, string attribute, DataAttributeType attributeType)
 {
     return(rawler.Add(new DataWrite()
     {
         Attribute = attribute, AttributeType = attributeType
     }));
 }
示例#6
0
 public static RawlerBase GetTesvValue(this RawlerBase rawler, string column)
 {
     return(rawler.Add(new GetTsvValue()
     {
         ColumnName = column
     }));
 }
示例#7
0
 public static RawlerBase NextPage(this RawlerBase rawler)
 {
     return(rawler.Add(new NextPage()));
 }
示例#8
0
 public static RawlerBase GetPageUrl(this RawlerBase rawler)
 {
     return(rawler.Add(new GetPageUrl()));
 }
示例#9
0
 public static RawlerBase ImageLinks(this RawlerBase rawler)
 {
     return(rawler.Add(new ImageLinks()));
 }
示例#10
0
 public static RawlerBase Trim(this RawlerBase rawler)
 {
     return(rawler.Add(new Trim()));
 }