需要的添加的jar包及工具:我这里使用maven来构建项目,添加依赖如下:   org.seleniumhq.selenium   selenium-java   3.2.0    PhantomJs工具到官网去下载:http://phantomjs.org/download.html 尽量都使用最新版本,不然会出现版本兼容的情况。 这里有一个已经写好的获取PhantomJSDriver的工具类 public static WebDriver getPhantomJs() {   String osname = System.getProperties().getProperty("os.name");   if (osname.equals("Linux")) {//判断系统的环境win or Linux     System.setProperty("phantomjs.binary.path", "/usr/bin/phantomjs");   } else {     System.setProperty("phantomjs.binary.path", "./phantomjs/win/phantomjs.exe");//设置PhantomJs访问路径   }   DesiredCapabilities desiredCapabilities = DesiredCapabilities.phantomjs();   //设置参数   desiredCapabilities.setCapability("phantomjs.page.settings.userAgent", "Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0");   desiredCapabilities.setCapability("phantomjs.page.customHeaders.User-Agent", "Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:50.0) Gecko/20100101   Firefox/50.0");   if (Constant.isProxy) {//是否使用代理     org.openqa.selenium.Proxy proxy = new org.openqa.selenium.Proxy();     proxy.setProxyType(org.openqa.selenium.Proxy.ProxyType.MANUAL);     proxy.setAutodetect(false);     String proxyStr = "";     do {       proxyStr = ProxyUtil.getProxy();//自定义函数,返回代理ip及端口     } while (proxyStr.length() == 0);     proxy.setHttpProxy(proxyStr);     desiredCapabilities.setCapability(CapabilityType.PROXY, proxy);   }   return new PhantomJSDriver(desiredCapabilities); } 获取方式     try{     WebDriver webDriver = PhantomJsUtil.getPhantomJs();     webDriver.get(url);     SleepUtil.sleep(Constant.SEC_5);     PhantomJsUtil.screenshot(webDriver);     WebDriverWait wait = new WebDriverWait(webDriver, 10);     wait.until(ExpectedConditions.presenceOfElementLocated(By.id(inputId)));//开始打开网页,等待输入元素出现     Document document = Jsoup.parse(webDriver.getPageSource());     //TODO  剩下页面的获取就按照Jsoup获取方式来做   }finally{     if (webDriver != null) {       webDriver.quit();     }   } python版使用webdriver+PhantomJs爬虫使用,参考http://www.cnblogs.com/kuqs/p/6395284.html
2022-01-12 17:37:08 13.76MB 爬虫 1.9.8 1.9.7
1
国内 下载 ubuntu 最新版本 ubuntu 历史版本 ubuntu 国内镜像 下载
2021-12-30 09:21:02 2KB ubuntu 最新版本 下载 历史版本
1
兼容CLion2021.1.1,因为2021.1.1这个版本我们可以白嫖
2021-12-04 09:05:00 67.36MB c语言 c++
1
clover各版本,持续更新
2021-11-10 16:33:26 113B clover 最新版 历史版本 云盘
1
官方原版微信6.7.3 ,旧版本微信官网原版,非破解,非三方请仔细辨别。下载即可安装使用,支持模拟器,真机安装使用最新上传时间 20191129,
1
pandownload_backup 应该是最全的pandownload各历史版本备份吧,谨以纪念盘神——蔡某萌。 最后,fxxk baidu! 更新记录 v2.2.2 更新时间: 2020-01-24 更新内容: 1.界面优化 2.bug修复 v2.1.3 更新时间: 2019-08-22 更新内容: 1.修复bug v2.1.1 更新时间: 2019-06-22 更新内容: 1.新增收藏夹和历史记录功能 2.秒传链接功能优化 3.修复部分bug v2.1.0 更新时间: 2019-04-22 更新内容: 1.修复bug v2.0.9 更新时间: 2019-04-12 更新内容: 1.支持远程下载 2.修复部分bug v2.0.6 更新时间: 2019-02-04 更新内容: 1.新增批量转存功能 2.支持多账号文件搜索 3.优化使用体验及bug修复 v2.0.5 更新时间: 2018-
2021-11-07 22:47:35 76.27MB Lua
1
Adviewv3.2.1版本SDK接入文档资料
2021-10-03 15:32:47 17.24MB AdviewSDK
1
百度官网给出的echarts版本与echarts-gl版本不匹配,这里给出历史版本下载
2021-09-27 09:45:45 1.53MB ecahrt-gl 历史版本
1
Voicemeeter banana v20034 历史版本,现在官网最新版本有时win7提示签名问题的的可以用这个版本。
2021-09-08 22:51:31 16.09MB voicem voicem
1
本文件包含绝版CE6.1、6.2、6.3的免安装文件。 以及CE的简易使用方法示例(4399造梦西游3的攻略)。 CE的功能是修改内存值,所以可以用来修改很多PC端的小游戏。
2021-08-31 20:16:32 38.1MB CE历史版本 4399攻略 CE6.1
1