mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Add] Main 添加日志输出内容;
This commit is contained in:
parent
10cad32efa
commit
7f83b16118
@ -52,6 +52,8 @@ public class Main {
|
|||||||
public static HttpHost proxy;
|
public static HttpHost proxy;
|
||||||
|
|
||||||
public static void main(String[] args) throws IOException, ClassNotFoundException {
|
public static void main(String[] args) throws IOException, ClassNotFoundException {
|
||||||
|
log.trace("ContentGrabbingJi 正在启动...");
|
||||||
|
log.debug("运行目录: {}", System.getProperty("user.dir"));
|
||||||
ArgumentsProperties argsProp = new ArgumentsProperties(args);
|
ArgumentsProperties argsProp = new ArgumentsProperties(args);
|
||||||
if(argsProp.containsKey("proxy")) {
|
if(argsProp.containsKey("proxy")) {
|
||||||
URL proxyUrl = new URL(argsProp.getValue("proxy"));
|
URL proxyUrl = new URL(argsProp.getValue("proxy"));
|
||||||
|
Loading…
Reference in New Issue
Block a user