07 2020 档案

摘要:连接数据库: gsql -U core -d username -W password -p prot -h ip 当前会话在select语句后加上\g\x\g即可(mysql 使用 \G),在不切换会话时,所有查询都会保持竖行展示 select * from table_name limit 1\ 阅读全文
posted @ 2020-07-28 16:30 Loser100 阅读(1075) 评论(0) 推荐(1)
摘要:WebClient webClient = WebClientUtil.initWebClient(); HtmlPage loginPage = webClient.getPage(new URL(login)); System.out.println("等待系统加载JS..."); webCli 阅读全文
posted @ 2020-07-22 15:30 Loser100 阅读(575) 评论(0) 推荐(0)
摘要:HtmlUnit.getPage或HtmlUnitDriver.get以后,不要立刻进行数据操作,可以 webClient.waitForBackgroundJavaScript(10000); 适当时间后,进行dom操作或抓取页面数据即可。 阅读全文
posted @ 2020-07-22 10:46 Loser100 阅读(618) 评论(1) 推荐(0)