Exemple #1
0
    private CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> Where_18735c6e301a42d68fee5c66fc258c09(CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> table)
    {
        Call(7);
        CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> newTable = new CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921>();
        IList <anon_e77da3131e1d4cf1970c18c99c04c921>     rows     = table.Where(row =>
        {
            return(true);
        }).ToList();

        newTable.SetRows(rows);
        IEnumerator <anon_e77da3131e1d4cf1970c18c99c04c921> i = newTable.GetEnumerator();

        for (
            ; i.MoveNext();
            )
        {
            anon_e77da3131e1d4cf1970c18c99c04c921 row = i.Current;
            row.DownloadPage = row.DownloadPage.CssWhere("ul.brandlist li");
        }
        return(newTable);
    }
Exemple #2
0
    private CodeTable <anon_689d51d359b141258928b1f3b4014cf2> Where_491d4f3515454428a0319f9ceaae2b0d(CodeTable <anon_689d51d359b141258928b1f3b4014cf2> table)
    {
        Call(16);
        CodeTable <anon_689d51d359b141258928b1f3b4014cf2> newTable = new CodeTable <anon_689d51d359b141258928b1f3b4014cf2>();
        IList <anon_689d51d359b141258928b1f3b4014cf2>     rows     = table.Where(row =>
        {
            return(true);
        }).ToList();

        newTable.SetRows(rows);
        IEnumerator <anon_689d51d359b141258928b1f3b4014cf2> i = newTable.GetEnumerator();

        for (
            ; i.MoveNext();
            )
        {
            anon_689d51d359b141258928b1f3b4014cf2 row = i.Current;
            row.DownloadPage = row.DownloadPage.CssWhere("div.reply");
        }
        return(newTable);
    }
Exemple #3
0
    private CodeTable <anon_0bff662ab81749ce9629d644bb3a956d> Where_e1285f8a98c648d3a3045e5fbcdaa3c8(CodeTable <anon_0bff662ab81749ce9629d644bb3a956d> table)
    {
        Call(10);
        CodeTable <anon_0bff662ab81749ce9629d644bb3a956d> newTable = new CodeTable <anon_0bff662ab81749ce9629d644bb3a956d>();
        IList <anon_0bff662ab81749ce9629d644bb3a956d>     rows     = table.Where(row =>
        {
            return(true);
        }).ToList();

        newTable.SetRows(rows);
        IEnumerator <anon_0bff662ab81749ce9629d644bb3a956d> i = newTable.GetEnumerator();

        for (
            ; i.MoveNext();
            )
        {
            anon_0bff662ab81749ce9629d644bb3a956d row = i.Current;
            row.DownloadPage = row.DownloadPage.CssWhere("div.topic");
        }
        return(newTable);
    }
Exemple #4
0
    private Table <ResultRow> Select_a4cd9e2cf0fb44f6a602ce40dc88139b()
    {
        Call(5);
        RuntimeTable <ResultRow> result = new RuntimeTable <ResultRow>();

        result.AddColumn("h3");
        result.AddColumn("p:nth-child(3)");
        result.AddColumn("p.author a");
        CodeTable <anon_0bff662ab81749ce9629d644bb3a956d> fromTable = From_47abbd03835942ada60a469ff108ccae();

        fromTable = Where_e1285f8a98c648d3a3045e5fbcdaa3c8(fromTable);
        IEnumerator <anon_0bff662ab81749ce9629d644bb3a956d> x = fromTable.GetEnumerator();

        for (
            ; x.MoveNext();
            )
        {
            anon_0bff662ab81749ce9629d644bb3a956d row = x.Current;
            IEnumerator <HtmlNode> y = row.DownloadPage.nodes.GetEnumerator();
            for (
                ; y.MoveNext();
                )
            {
                HtmlNode  node      = y.Current;
                ResultRow resultRow = new ResultRow(3);
                resultRow[0] = node.Pick("h3").TakeText();
                resultRow[1] = node.Pick("p:nth-child(3)").TakeText();
                resultRow[2] = node.Pick("p.author a").TakeText();
                if ((((resultRow[0] != null) &&
                      (resultRow[1] != null)) &&
                     (resultRow[2] != null)))
                {
                    result.Add(resultRow);
                }
            }
            row.DownloadPage.Clear();
        }
        OnSelect(result);
        return(result);
    }
Exemple #5
0
    private Table <ResultRow> Select_43e9593ca897423489a7897dfe7490df()
    {
        Call(4);
        RuntimeTable <ResultRow> result = new RuntimeTable <ResultRow>();

        result.AddColumn("upc");
        result.AddColumn("url");
        CodeTable <anon_4ffac12ed6584b16899a543ed6d6662c>   fromTable = From_0b0a762c6e4644bdb952952b82e89af5();
        IEnumerator <anon_4ffac12ed6584b16899a543ed6d6662c> x         = fromTable.GetEnumerator();

        for (
            ; x.MoveNext();
            )
        {
            anon_4ffac12ed6584b16899a543ed6d6662c row = x.Current;
            ResultRow resultRow = new ResultRow(2);
            resultRow[0] = row.DynamicObject["upc"];
            resultRow[1] = row.DynamicObject["url"];
            result.Add(resultRow);
        }
        OnSelect(result);
        return(result);
    }
Exemple #6
0
    private Table <ResultRow> Select_6ea90561ec26483685c68cc37a476cfa()
    {
        Call(3);
        RuntimeTable <ResultRow> result = new RuntimeTable <ResultRow>();

        result.AddColumn("url");
        result.AddColumn("(No column name)");
        CodeTable <anon_e77da3131e1d4cf1970c18c99c04c921> fromTable = From_063aa67f80e6401686b3f3c73c24dfc4();

        fromTable = Where_18735c6e301a42d68fee5c66fc258c09(fromTable);
        IEnumerator <anon_e77da3131e1d4cf1970c18c99c04c921> x = fromTable.GetEnumerator();

        for (
            ; x.MoveNext();
            )
        {
            anon_e77da3131e1d4cf1970c18c99c04c921 row = x.Current;
            IEnumerator <HtmlNode> y = row.DownloadPage.nodes.GetEnumerator();
            for (
                ; y.MoveNext();
                )
            {
                HtmlNode  node      = y.Current;
                ResultRow resultRow = new ResultRow(2);
                resultRow[0] = row.DownloadPage.url;
                resultRow[1] = string.Concat("http://www.target.com", node.Pick("a:first-child").TakeAttribute("href"));
                if (((resultRow[0] != null) &&
                     (resultRow[1] != null)))
                {
                    result.Add(resultRow);
                }
            }
            row.DownloadPage.Clear();
        }
        OnSelect(result);
        return(result);
    }
Exemple #7
0
    private Table <ResultRow> Select_eebbeb38988d4f269904a0da0be8c774()
    {
        Call(12);
        RuntimeTable <ResultRow> result = new RuntimeTable <ResultRow>();

        result.AddColumn("p:nth-child(2)");
        result.AddColumn("p.author a");
        CodeTable <anon_689d51d359b141258928b1f3b4014cf2> fromTable = From_f679e9125ac741039b19ae43171f05e5();

        fromTable = Where_491d4f3515454428a0319f9ceaae2b0d(fromTable);
        IEnumerator <anon_689d51d359b141258928b1f3b4014cf2> x = fromTable.GetEnumerator();

        for (
            ; x.MoveNext();
            )
        {
            anon_689d51d359b141258928b1f3b4014cf2 row = x.Current;
            IEnumerator <HtmlNode> y = row.DownloadPage.nodes.GetEnumerator();
            for (
                ; y.MoveNext();
                )
            {
                HtmlNode  node      = y.Current;
                ResultRow resultRow = new ResultRow(2);
                resultRow[0] = node.Pick("p:nth-child(2)").TakeText();
                resultRow[1] = node.Pick("p.author a").TakeText();
                if (((resultRow[0] != null) &&
                     (resultRow[1] != null)))
                {
                    result.Add(resultRow);
                }
            }
            row.DownloadPage.Clear();
        }
        OnSelect(result);
        return(result);
    }
Exemple #8
0
 private CodeTable<anon_e77da3131e1d4cf1970c18c99c04c921> Where_18735c6e301a42d68fee5c66fc258c09(CodeTable<anon_e77da3131e1d4cf1970c18c99c04c921> table)
 {
     Call(7);
     CodeTable<anon_e77da3131e1d4cf1970c18c99c04c921> newTable = new CodeTable<anon_e77da3131e1d4cf1970c18c99c04c921>();
     IList<anon_e77da3131e1d4cf1970c18c99c04c921> rows = table.Where(row =>
     {
         return true;
     }).ToList();
     newTable.SetRows(rows);
     IEnumerator<anon_e77da3131e1d4cf1970c18c99c04c921> i = newTable.GetEnumerator();
     for (
     ; i.MoveNext();
     )
     {
         anon_e77da3131e1d4cf1970c18c99c04c921 row = i.Current;
         row.DownloadPage = row.DownloadPage.CssWhere("ul.brandlist li");
     }
     return newTable;
 }