options.h
来自「网络爬虫程序」· C头文件 代码 · 共 3,196 行 · 第 1/5 页
H
3,196 行
PARAM_FUNC, (void *) 1, cfg_load_scenario, NULL, NULL, gettext_nop( "\t-scenario $str - name of scenario from scenario directory to load\n" "\t and or run\n") }, { NULL, "-auth_scheme", "HTTPAuthorizationScheme:", PARAM_AUTHSCH, (void *) 2, &cfg.auth_scheme, NULL, NULL, gettext_nop( "\t-auth_scheme 1/2/3 - HTTP authorization scheme 1-user 2-Basic 3-Digest,\n" "\t default 2\n") }, { NULL, "-auth_name", "HTTPAuthorizationName:", PARAM_STR, (void *) NULL, &cfg.name_auth, NULL, NULL, gettext_nop( "\t-auth_name $str - name for Authorization (only via HTTP)\n") }, { NULL, "-auth_passwd", "HTTPAuthorizationPassword:", PARAM_PASS, (void *) NULL, &cfg.passwd_auth, NULL, NULL, gettext_nop( "\t-auth_passwd $str - password for Authorization (only via HTTP)\n") }, { NULL, "-auth_reuse_nonce", "AuthReuseDigestNonce:", PARAM_PBOOL, (void *) FALSE, &cfg.auth_reuse_nonce, NULL, NULL, gettext_nop( "\t-auth_reuse_nonce/-noauth_reuse_nonce\n" "\t - reuse one HTTP digest access authorization\n" "\t nonce for more requests\n") }, { NULL, "-noauth_reuse_nonce", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.auth_reuse_nonce, NULL, NULL, NULL }, { NULL, "-auth_reuse_proxy_nonce", "AuthReuseProxyDigestNonce:", PARAM_PBOOL, (void *) FALSE, &cfg.auth_reuse_proxy_nonce, NULL, NULL, gettext_nop( "\t-auth_reuse_proxy_nonce/-noauth_reuse_proxy_nonce\n" "\t - reuse one HTTP proxy digest access\n" "\t authorization nonce for more requests\n") }, { NULL, "-noauth_reuse_proxy_nonce", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.auth_reuse_proxy_nonce, NULL, NULL, NULL }, { NULL, "-ssl_cert_passwd", "SSLCertPassword:",#if !defined(USE_SSL) || !defined(USE_SSL_IMPL_OPENSSL) PARAM_PASS | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_PASS, (void *) NULL, &cfg.ssl_cert_passwd, NULL, NULL, gettext_nop( "\t-ssl_cert_passwd $str\n" "\t - password for SSL certification file\n")#endif }, { NULL, "-ssl_cert_file", "SSLCertFile:",#if !defined(USE_SSL) || !defined(USE_SSL_IMPL_OPENSSL) PARAM_PATH | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_PATH, (void *) NULL, &cfg.ssl_cert_file, NULL, NULL, gettext_nop( "\t-ssl_cert_file $str\n" "\t - SSL certification file\n")#endif }, { NULL, "-ssl_key_file", "SSLKeyFile:",#if !defined(USE_SSL) || !defined(USE_SSL_IMPL_OPENSSL) PARAM_PATH | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_PATH, (void *) NULL, &cfg.ssl_key_file, NULL, NULL, gettext_nop( "\t-ssl_key_file $str - SSL certification key file\n")#endif }, { NULL, "-ssl_cipher_list", "SSLCipherList:",#ifndef USE_SSL PARAM_STR | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_STR, (void *) NULL, &cfg.ssl_cipher_list, NULL, NULL, gettext_nop( "\t-ssl_cipher_list $str\n" "\t - list of prefered SSL ciphers in SSL communication\n")#endif }, { NULL, "-egd_socket", "EGDSocket:",#ifndef HAVE_RAND_EGD PARAM_STR | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_STR, (void *) NULL, &cfg.egd_socket, NULL, NULL, gettext_nop( "\t-egd_socket $file - path to EGD listening socket\n")#endif }, { NULL, "-from", "EmailAddress:", PARAM_STR, (void *) NULL, &cfg.from, NULL, NULL, gettext_nop( "\t-from $str - e-mail address used for user identification\n") }, { NULL, "-send_from", "SendFromHeader:", PARAM_PBOOL, (void *) FALSE, &cfg.send_from, NULL, NULL, gettext_nop( "\t-send_from/-nosend_from\n" "\t - send From: header in HTTP request with your\n" "\t e-mail address\n") }, { NULL, "-nosend_from", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.send_from, NULL, NULL, NULL }, { NULL, "-identity", "Identity:", PARAM_STR, (void *) NULL, &cfg.identity, NULL, NULL, gettext_nop( "\t-identity $str - contents of User-agent: field in HTTP request\n") }, { NULL, "-pattern", "MatchPattern:", PARAM_STRLIST, (void *) NULL, &cfg.condition.pattern, NULL, NULL, gettext_nop( "\t-pattern $list - list of wildcard patterns for files\n") }, { NULL, "-rpattern", "REMatchPattern:",#ifndef HAVE_REGEX PARAM_RE | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_RE, (void *) NULL, &cfg.condition.rpattern, NULL, NULL, gettext_nop( "\t-rpattern $re - RE matching pattern for files\n")#endif }, { NULL, "-skip_pattern", "SkipMatchPattern:", PARAM_STRLIST, (void *) NULL, &cfg.condition.skip_pattern, NULL, NULL, gettext_nop( "\t-skip_pattern $list\n" "\t - list of skip wildcard patterns for files\n") }, { NULL, "-skip_rpattern", "SkipREMatchPattern:",#ifndef HAVE_REGEX PARAM_RE | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_RE, (void *) NULL, &cfg.condition.rskip_pattern, NULL, NULL, gettext_nop( "\t-skip_rpattern $re\n" "\t - skip RE matching pattern for files\n")#endif }, { NULL, "-url_pattern", "URLMatchPattern:", PARAM_STRLIST, (void *) NULL, &cfg.condition.url_pattern, NULL, NULL, gettext_nop( "\t-url_pattern $list - list of wildcard patterns for urls\n") }, { NULL, "-url_rpattern", "URLREMatchPattern:",#ifndef HAVE_REGEX PARAM_RE | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_RE, (void *) NULL, &cfg.condition.rurl_pattern, NULL, NULL, gettext_nop( "\t-url_rpattern $re - RE matching pattern for urls\n")#endif }, { NULL, "-skip_url_pattern", "SkipURLMatchPattern:", PARAM_STRLIST, (void *) NULL, &cfg.condition.skip_url_pattern, NULL, NULL, gettext_nop( "\t-skip_url_pattern $list\n" "\t - list of wildcard patterns for urls\n") }, { NULL, "-skip_url_rpattern", "SkipURLREMatchPattern:",#ifndef HAVE_REGEX PARAM_RE | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL,#else PARAM_RE, (void *) NULL, &cfg.condition.rskip_url_pattern, NULL, NULL, gettext_nop( "\t-skip_url_rpattern $re\n" "\t - RE matching patterns for urls\n")#endif }, { NULL, "-mode", "DefaultMode:", PARAM_MODE, (void *) MODE_NORMAL, &cfg.mode, NULL, NULL, gettext_nop( "\t-mode $mode - set operation mode\n" "\t normal - recurse throught WWW (default)\n" "\t linkupdate - update remote links in local tree\n" "\t sync - synchronize local tree with remote WWW\n" "\t servers\n" "\t singlepage - single page with inline objects\n" "\t singlereget - reget file until not whole\n" "\t resumeregets - reget all files which are broken\n" "\t dontstore - transfer documents, but don't store\n" "\t reminder - checks URLs if they are changed\n" "\t ftpdir - list content of FTP directory\n" "\t mirror - make exact copy of remote site\n") }, { NULL, "-ftp_proxy", "FTPProxy:", PARAM_CONN, (void *) NULL, &cfg.ftp_proxy, (void *) DEFAULT_FTP_PROXY_PORT, &cfg.ftp_proxy_port, gettext_nop( "\t-ftp_proxy $site[:$port]\n" "\t - ftp proxy/cache server\n") }, { NULL, "-http_proxy", "HTTPProxy:", PARAM_PROXY, (void *) NULL, &cfg.http_proxy, NULL, NULL, gettext_nop( "\t-http_proxy $site[:$port]\n" "\t - http proxy/cache server\n") }, { NULL, "-gopher_proxy", "GopherProxy:", PARAM_CONN, (void *) NULL, &cfg.gopher_proxy, (void *) DEFAULT_GOPHER_PROXY_PORT, &cfg.gopher_proxy_port, gettext_nop( "\t-gopher_proxy $site[:$port]\n" "\t - gopher proxy/cache server\n") }, { NULL, "-ssl_proxy", "SSLProxy:",#ifndef USE_SSL PARAM_CONN | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_CONN, (void *) NULL, &cfg.ssl_proxy, (void *) DEFAULT_SSL_PROXY_PORT, &cfg.ssl_proxy_port, gettext_nop( "\t-ssl_proxy $site[:$port]\n" "\t - ssl proxy server\n")#endif }, { NULL, "-gopher_httpgw", "GopherViaHTTPProxy:", PARAM_PBOOL, (void *) FALSE, &cfg.gopher_via_http, NULL, NULL, gettext_nop( "\t-gopher_httpgw/-nogopher_httpgw\n" "\t - specified gopher proxy is HTTP gateway for Gopher\n") }, { NULL, "-nogopher_httpgw", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.gopher_via_http, NULL, NULL, NULL }, { NULL, "-ftp_httpgw", "FTPViaHTTPProxy:", PARAM_PBOOL, (void *) FALSE, &cfg.ftp_via_http, NULL, NULL, gettext_nop( "\t-ftp_httpgw/-noftp_httpgw\n" "\t - specified ftp proxy is HTTP gateway for FTP\n") }, { NULL, "-noftp_httpgw", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.ftp_via_http, NULL, NULL, NULL }, { NULL, "-ftp_dirtyproxy", "FTPDirtyProxy:", PARAM_PBOOL, (void *) FALSE, &cfg.ftp_dirtyp, NULL, NULL, gettext_nop( "\t-ftp_dirtyproxy/-noftp_dirtyproxy\n" "\t - use CONNECT request to HTTP proxy for FTP\n" "\t connections\n") }, { NULL, "-noftp_dirtyproxy", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.ftp_dirtyp, NULL, NULL, NULL }, { NULL, "-browser", "Browser:",#if !defined(I_FACE) || !defined(WITH_TREE) PARAM_STR | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_STR, (void *) NULL, &cfg.browser, NULL, NULL, gettext_nop( "\t-browser $str - your preferred browser programm\n")#endif }, { NULL, "-xmaxlog", "XMaxLogSize:",#ifndef I_FACE PARAM_NUM | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_NUM, (void *) NULL, &cfg.xlogsize, NULL, NULL, gettext_nop( "\t-xmaxlog - maximal length of log window\n")#endif }, { NULL, "-dumpscn", NULL, PARAM_STR, (void *) NULL, &cfg.save_scn, NULL, NULL, gettext_nop( "\t-dumpscn $str - save scenario in scndir with name $str\n") }, { NULL, "-maxsize", "MaxSize:", PARAM_NUM, (void *) 0, &cfg.condition.max_size, NULL, NULL, gettext_nop( "\t-maxsize $nr - maximal allowed size of document in bytes\n") }, { NULL, "-minsize", "MinSize:", PARAM_NUM, (void *) 0, &cfg.condition.min_size, NULL, NULL, gettext_nop( "\t-minsize $nr - minimal allowed size of document in bytes\n") }, { NULL, "-http_proxy_pass", "HTTPProxyPass:", PARAM_PASS, (void *) NULL, &cfg.http_proxy_pass, NULL, NULL, gettext_nop( "\t-http_proxy_pass $str\n" "\t - password for HTTP proxy authorization\n") }, { NULL, "-http_proxy_user", "HTTPProxyUser:", PARAM_STR, (void *) NULL, &cfg.http_proxy_user, NULL, NULL, gettext_nop( "\t-http_proxy_user $str\n" "\t - user name for HTTP proxy authorization\n") }, { NULL, "-http_proxy_auth", "HTTPProxyAuth:", PARAM_AUTHSCH, (void *) 2, &cfg.proxy_auth_scheme, NULL, NULL, gettext_nop( "\t-http_proxy_auth 1/2/3\n" "\t - authorization scheme for HTTP proxy authorization\n") }, { NULL, "-logfile", "LogFile:", PARAM_PATH, (void *) NULL, &cfg.logfile, NULL, NULL, gettext_nop( "\t-logfile $file - name of file where mesages are stored\n") }, { NULL, "-slogfile", "SLogFile:", PARAM_PATH, (void *) NULL, &cfg.short_logfile, NULL, NULL, gettext_nop( "\t-slogfile $file - name of file where short log will be stored\n") }, { NULL, "-tlogfile", "TLogFile:", PARAM_STR, (void *) NULL, &cfg.time_logfile, NULL, NULL, gettext_nop( "\t-tlogfile $file - name of file where time log will be stored\n")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?