Пример #1
0
        public Sina(string Url, string file, MainWin mw)
        {
            this.Url  = Url;
            this.mw   = mw;
            this.file = file;

            page = 1;
            Init();
        }
Пример #2
0
        public ifeng(string Url, string file, MainWin mw)
        {
            this.Url  = Url;
            this.file = file;
            this.mw   = mw;

            FNParm.Add("p", page.ToString());
            FNParm.Add("docurl", Url);

            Init();
        }
Пример #3
0
        public SoHu(string Url, string file, MainWin mw)
        {
            this.Url  = Url;
            this.file = file;
            this.mw   = mw;

            SHParm.Add("appid", "");
            SHParm.Add("client_id", "");
            SHParm.Add("topicurl", "");
            SHParm.Add("topicsid", "");

            CmtParm.Add("client_id", "");
            CmtParm.Add("topic_id", "");
            CmtParm.Add("page_size", "20");
            CmtParm.Add("page_no", "1");

            Init();
        }
Пример #4
0
        public Tencent(string Url, string file, MainWin mw)
        {
            this.Url  = Url;
            this.file = file;
            this.mw   = mw;

            QQParm.Add("commentid", 0);
            QQParm.Add("reqnum", 0);

            NodeParm.Add("targetid", "");
            NodeParm.Add("reqnum", "20");
            NodeParm.Add("pageflag", "1");
            NodeParm.Add("parentid", "");

            if (!Init())
            {
                throw new Exception("获取数据失败!");
            }
        }