1.通过Fiddler工具抓包:拿到列表页的http请求
操作方法:https://jingyan.baidu.com/article/4dc40848617b1dc8d846f16d.html
2.通过抓包得知需要先模拟登录,然后才能获取列表数据
3.通过调取窗口模拟发送消息
附下面代码:
package com.leo;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.awt.*;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
import java.awt.event.KeyEvent;
import java.io.*;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.u