import com.pga.MyCrawler.Crawler_counterfeit_run;
/**
* Filename: Crawler_counterfeit_example.java
* Create at: 2015年11月10日 下午12:28:08
* Description:
* Modification History:
* Author Version Description
* -----------------------------------------------------------------
* Garfield 1.0 1.0 Version
*/
//data/cw_crawlermain.txt 360手机应用市场 URL列表
public class Crawler_counterfeit_example {
private static final String pjpath = System.getProperty("user.dir");
public static void main(String[] args) {
String path = pjpath+"/data/cw_crawlermain.txt"; //爬取URL列表文件
String gz = "标题,h2[id=app-name] span #code#"
+ "评分,div[class=pf] span[class=s-1 js-votepanel] #code#"
+ "简介,div[class=breif] #code#"; //爬取规则
String heads = "COOKIE,huid10JFwClba%2BqU2Lki2s2f6LpzmjTO4GBLLYiSOUDMONVpQ%3#head#c,cs#head#admin,admin"; //伪造头
String input = pjpath+"\\input\\data.txt"; //输出文件
String dominput = pjpath+"\\input\\"; //输出目录
Crawler_counterfeit_run.Crawler_save(path,gz,heads,input,dominput);
//Crawler_counterfeit_run.Crawler(String path,String gz,String heads, String input)
}
}
最近下载更多
212600 LV7
2022年9月6日
刘卫国 LV6
2021年12月1日
Sean_admin LV7
2021年4月23日
liangge2115 LV27
2020年10月24日
senint LV6
2020年5月14日
wei112233 LV15
2020年2月2日
zdjljty LV9
2019年12月13日
1602177575 LV14
2019年11月25日
newhaijun LV16
2019年11月14日
付晨雨 LV6
2019年9月10日

最近浏览