资源简介

腾讯微博-模拟登陆-QQWeiBoCookie

资源截图

代码片段和文件信息

package com.weibo.qq.cookie.common;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.SocketTimeoutException;

import org.apache.http.HttpResponse;
import org.apache.http.TruncatedChunkException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.log4j.Logger;

import com.weibo.zel.entity.util.LoginPojo;
import com.weibo.zel.utils.qq.MyHttpConnectionManager;

/**
 * 测试获得的cookies是否是正确的
 */
public class GrabPageSource4QQ {
private static final Logger logger = Logger
.getLogger(GrabPageSource4QQ.class);
private String cookieString;

public GrabPageSource4QQ() {

}

HttpGet get = null;
HttpClient httpClient = null

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-03-07 15:59  QQWeiBoCookie\
     文件        1474  2014-02-11 12:12  QQWeiBoCookie\.classpath
     文件         389  2014-03-07 15:11  QQWeiBoCookie\.project
     目录           0  2014-03-07 15:59  QQWeiBoCookie\.settings\
     文件         113  2014-02-11 12:12  QQWeiBoCookie\.settings\org.eclipse.core.resources.prefs
     文件         629  2014-02-11 11:30  QQWeiBoCookie\.settings\org.eclipse.jdt.core.prefs
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\qq\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\qq\cookie\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\qq\cookie\common\
     文件        6558  2014-03-07 15:55  QQWeiBoCookie\bin\com\weibo\qq\cookie\common\GrabPageSource4QQ.class
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\utils\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\utils\qq\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\utils\qq\login\
     文件        9195  2014-03-07 15:54  QQWeiBoCookie\bin\com\weibo\utils\qq\login\GetUserCookie4QQ.class
     文件        3042  2014-03-07 15:12  QQWeiBoCookie\bin\com\weibo\utils\qq\login\PasswordUtil.class
     文件        1539  2014-03-07 15:12  QQWeiBoCookie\bin\com\weibo\utils\qq\StaticValue4QQ.class
     文件        1184  2014-03-07 15:13  QQWeiBoCookie\bin\com\weibo\utils\qq\UidGeneratorUtil.class
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\zel\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\zel\entity\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\zel\entity\util\
     文件        2824  2014-03-07 15:11  QQWeiBoCookie\bin\com\weibo\zel\entity\util\LoginPojo.class
     文件        1621  2014-03-07 15:11  QQWeiBoCookie\bin\com\weibo\zel\entity\util\ProxyPojo.class
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\zel\utils\
     目录           0  2014-03-07 15:59  QQWeiBoCookie\bin\com\weibo\zel\utils\qq\
     文件        3669  2014-03-07 15:15  QQWeiBoCookie\bin\com\weibo\zel\utils\qq\MyHttpConnectionManager.class
     文件        2292  2014-03-07 15:15  QQWeiBoCookie\bin\com\weibo\zel\utils\qq\PasswordUtil4Sina.class
     文件        1862  2014-03-07 15:15  QQWeiBoCookie\bin\com\weibo\zel\utils\qq\ReadSpiderConfig.class
     文件        5668  2014-03-07 15:15  QQWeiBoCookie\bin\com\weibo\zel\utils\qq\RegexPaserUtil.class
............此处省略59个文件信息

评论

共有 条评论