zoukankan      html  css  js  c++  java
  • C# webbrowser实现百度知道团队邀请助手!

    【百度知道团队邀请助手】

    是您快速提高百度知道团队成员数和团队排名的利器!

    主要功能:

    1.运用C#自带的webbrowser自动登录百度;

    2.自动采集请在C#.Net分类排名下的所有用户,邀请这些用户加入自己的团队!

    3.可以选择新上升的成员和多少级别一下的成员,因为每天只能有20个名额;


    自动登录百度代码如下:

                    HtmlElement name = WB1.Document.All["username"];
                    HtmlElement pwd = WB1.Document.All["password"];
                    name.SetAttribute("value", textBox1.Text);
                    pwd.SetAttribute("value", textBox2.Text);
                    WB1.Document.GetElementById("TANGRAM__3__submit").InvokeMember("Click");

    邀请高手代码更改如下:

                   IHTMLDocument2 doc = WB1.Document.DomDocument as IHTMLDocument2;
                    //doc.parentWindow.execScript(@"team.invite('',10,2,'C.Net开发');", "JavaScript");// 更改为你自己的团队
                    foreach (IHTMLElement ele in doc.all)
                    {
                        if (ele.className == "invite")
                            ele.click();
                    }

    项目Demo下载地址:

    http://download.csdn.net/detail/xtfnpgy/7315097





  • 相关阅读:
    枚举8项素数和环
    登录过滤器
    线程调度
    回溯素数环
    centos 6.5 samba简单配置
    区间k大数查询
    Centos安装arm-linux-gcc等交叉工具链
    centos7安装tftp服务器
    八皇后问题
    输出1——n的排列(深度优先搜索)
  • 原文地址:https://www.cnblogs.com/xtfnpgy/p/9285431.html
Copyright © 2011-2022 走看看