options.h
来自「网络爬虫程序」· C头文件 代码 · 共 3,196 行 · 第 1/5 页
H
3,196 行
PARAM_NUM, (void *) 0, &cfg.ddays, NULL, NULL, gettext_nop( "\t-ddays $nr - number of days since last access when document is\n" "\t checked in sync mode\n") }, { NULL, "-nocache", "UseCache:", PARAM_NBOOL, (void *) TRUE, &cfg.cache, NULL, NULL, gettext_nop( "\t-nocache/-cache - disallow caching of HTTP documents (on proxy cache)\n") }, { NULL, "-cache", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.cache, NULL, NULL, NULL }, { NULL, "-noRobots", "UseRobots:", PARAM_NBOOL, (void *) TRUE, &cfg.condition.allow_robots, NULL, NULL, gettext_nop( "\t-noRobots/-Robots - care about \"robots.txt\" file ?\n") }, { NULL, "-Robots", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.condition.allow_robots, NULL, NULL, NULL }, { NULL, "-noFTP", "AllowFTP:", PARAM_NBOOL, (void *) TRUE, &cfg.condition.ftp, NULL, NULL, gettext_nop( "\t-noFTP/-FTP - don't download FTP files\n") }, { NULL, "-FTP", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.condition.ftp, NULL, NULL, NULL }, { NULL, "-noHTTP", "AllowHTTP:", PARAM_NBOOL, (void *) TRUE, &cfg.condition.http, NULL, NULL, gettext_nop( "\t-noHTTP/-HTTP - don't download HTTP files\n") }, { NULL, "-HTTP", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.condition.http, NULL, NULL, NULL }, { NULL, "-noSSL", "AllowSSL:",#ifndef USE_SSL PARAM_NBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_NBOOL, (void *) TRUE, &cfg.condition.https, NULL, NULL, gettext_nop( "\t-noSSL/-SSL - don't download (HTTPS) SSL files\n")#endif }, { NULL, "-SSL", NULL,#ifndef USE_SSL PARAM_PBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_PBOOL, (void *) TRUE, &cfg.condition.https, NULL, NULL, NULL#endif }, { NULL, "-verify", "Verify CERT:",#ifndef USE_SSL PARAM_NBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_NBOOL, (void *) TRUE, &cfg.condition.verify, NULL, NULL, gettext_nop( "\t-noverify/-verify - don't verify SSL certificates\n")#endif }, { NULL, "-noverify", "Verify CERT:",#ifndef USE_SSL PARAM_NBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_NBOOL, (void *) TRUE, &cfg.condition.verify, NULL, NULL, gettext_nop( "\t-noverify/-verify - don't verify SSL certificates\n")#endif }, { NULL, "-noFTPS", "AllowFTPS:",#ifndef USE_SSL PARAM_NBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_NBOOL, (void *) TRUE, &cfg.condition.ftps, NULL, NULL, gettext_nop( "\t-noFTPS/-FTPS - don't download FTPS files\n")#endif }, { NULL, "-FTPS", NULL,#ifndef USE_SSL PARAM_PBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_PBOOL, (void *) TRUE, &cfg.condition.ftps, NULL, NULL, NULL#endif }, { NULL, "-noGopher", "AllowGopher:", PARAM_NBOOL, (void *) TRUE, &cfg.condition.gopher, NULL, NULL, gettext_nop( "\t-noGopher/-Gopher - download Gopher files ?\n") }, { NULL, "-Gopher", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.condition.gopher, NULL, NULL, NULL }, { NULL, "-noCGI", "AllowCGI:", PARAM_NBOOL, (void *) TRUE, &cfg.condition.cgi, NULL, NULL, gettext_nop( "\t-noCGI/-CGI - download parametric CGI pages ?\n") }, { NULL, "-CGI", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.condition.cgi, NULL, NULL, NULL }, { NULL, "-noEnc", "AllowGZEncoding:", PARAM_NBOOL, (void *) TRUE, &cfg.use_enc, NULL, NULL, gettext_nop( "\t-noEnc/-Enc - allow transfer of encoded files ?\n") }, { NULL, "-Enc", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.use_enc, NULL, NULL, NULL }, { NULL, "-noRelocate", "AllowRelocation:", PARAM_NBOOL, (void *) TRUE, &cfg.rewrite_links, NULL, NULL, gettext_nop( "\t-noRelocate/-Relocate\n" "\t - don't rewrite links\n") }, { NULL, "-Relocate", NULL, PARAM_PBOOL, (void *) TRUE, &cfg.rewrite_links, NULL, NULL, NULL }, { NULL, "-FTPhtml", "FTPhtml:", PARAM_PBOOL, (void *) FALSE, &cfg.ftp_html, NULL, NULL, gettext_nop( "\t-FTPhtml/-noFTPhtml\n" "\t - process HTML files downloaded over FTP\n") }, { NULL, "-noFTPhtml", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.ftp_html, NULL, NULL, NULL }, { NULL, "-FTPlist", "FTPListCMD:", PARAM_PBOOL, (void *) FALSE, &cfg.ftp_list, NULL, NULL, gettext_nop( "\t-FTPlist/-noFTPlist\n" "\t - use wide FTP directory listing\n") }, { NULL, "-noFTPlist", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.ftp_list, NULL, NULL, NULL }, { NULL, "-FTPdir", "AllowFTPRecursion:", PARAM_PBOOL, (void *) FALSE, &cfg.condition.ftpdir, NULL, NULL, gettext_nop( "\t-FTPdir/-noFTPdir - recurse FTP directory\n") }, { NULL, "-noFTPdir", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.condition.ftpdir, NULL, NULL, NULL }, { NULL, "-store_index", "StoreDirIndexFile:", PARAM_PBOOL, (void *) TRUE, &cfg.store_index, NULL, NULL, gettext_nop( "\t-store_index/-nostore_index\n" "\t - store directory URLs as index files\n") }, { NULL, "-nostore_index", NULL, PARAM_NBOOL, (void *) TRUE, &cfg.store_index, NULL, NULL, NULL }, { NULL, "-force_reget", "ForceReget:", PARAM_PBOOL, (void *) FALSE, &cfg.freget, NULL, NULL, gettext_nop( "\t-force_reget/-noforce_reget\n" "\t - force reget of whole file when server doesn't\n" "\t support reget\n") }, { NULL, "-noforce_reget", NULL, PARAM_NBOOL, (void *) FALSE, &cfg.freget, NULL, NULL, NULL }, { NULL, "-debug", "Debug:",#ifndef DEBUG PARAM_PBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_PBOOL, (void *) FALSE, &cfg.debug, NULL, NULL, gettext_nop( "\t-debug - turn on debug mode\n")#endif }, { NULL, "-nodebug", NULL,#ifndef DEBUG PARAM_NBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_NBOOL, (void *) FALSE, &cfg.debug, NULL, NULL, NULL#endif }, { NULL, "-debug_level", "DebugLevel:",#ifndef DEBUG PARAM_NBOOL | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else PARAM_DEBUGL, (void *) 0, &cfg.debug_level, NULL, NULL, gettext_nop( "\t-debug_level $l - debug level number, see manual for $l description\n")#endif }, { NULL, "-asite", "AllowedSites:", PARAM_STRLIST, (void *) NULL, &cfg.condition.sites, (void *) TRUE, &cfg.condition.allow_site, gettext_nop( "\t-asite $list - comma-separated list of allowed sites\n") }, { NULL, "-dsite", "DisallowedSites:", PARAM_STRLIST, (void *) NULL, &cfg.condition.sites, (void *) FALSE, &cfg.condition.allow_site, gettext_nop( "\t-dsite $list - comma-separated list of disallowed sites\n") }, { NULL, "-adomain", "AllowedDomains:", PARAM_STRLIST, (void *) NULL, &cfg.condition.domains, (void *) TRUE, &cfg.condition.allow_domain, gettext_nop( "\t-adomain $list - list of allowed domains\n") }, { NULL, "-ddomain", "DisallowedDomains:", PARAM_STRLIST, (void *) NULL, &cfg.condition.domains, (void *) FALSE, &cfg.condition.allow_domain, gettext_nop( "\t-ddomain $list - list of disallowed domains\n") }, { NULL, "-aprefix", "AllowedPrefixes:", PARAM_STRLIST, (void *) NULL, &cfg.condition.dir_prefix, (void *) TRUE, &cfg.condition.allow_prefix, gettext_nop( "\t-aprefix $list - list of allowed directory/file prefixes\n") }, { NULL, "-dprefix", "DisallowedPrefixes:", PARAM_STRLIST, (void *) NULL, &cfg.condition.dir_prefix, (void *) FALSE, &cfg.condition.allow_prefix, gettext_nop( "\t-dprefix $list - list of disallowed directory/file prefixes\n") }, { NULL, "-asfx", "AllowedSuffixes:", PARAM_STRLIST, (void *) NULL, &cfg.condition.sufix, (void *) TRUE, &cfg.condition.allow_sufix, gettext_nop( "\t-asfx $list - list of allowed suffixes\n") }, { NULL, "-dsfx", "DisallowedSuffixes:", PARAM_STRLIST, (void *) NULL, &cfg.condition.sufix, (void *) FALSE, &cfg.condition.allow_sufix, gettext_nop( "\t-dsfx $list - list of disallowed suffixes\n") }, { NULL, "-amimet", "AllowedMIMETypes:", PARAM_STRLIST, (void *) NULL, &cfg.condition.mime, (void *) TRUE, &cfg.condition.allow_mime, gettext_nop( "\t-amimet $list - list of alloved MIME types\n") }, { NULL, "-dmimet", "DisallowedMIMETypes:", PARAM_STRLIST, (void *) NULL, &cfg.condition.mime, (void *) FALSE, &cfg.condition.allow_mime, gettext_nop( "\t-dmimet $list - list of disallowed MIME types\n") }, { NULL, "-alang", "PreferredLanguages:", PARAM_STRLIST, (void *) NULL, &cfg.accept_lang, NULL, NULL, gettext_nop( "\t-alang $list - list of preferred languages (only via HTTP)\n") }, { NULL, "-acharset", "PreferredCharset:", PARAM_STRLIST, (void *) NULL, &cfg.accept_chars, NULL, NULL, gettext_nop( "\t-acharset $list - list of preferred character sets (only via HTTP)\n") }, { NULL, "-scnDir", "ScenarioDirectory:", PARAM_PATH, (void *) NULL, &cfg.scndir, NULL, NULL, gettext_nop( "\t-scndir $dir - directory ,where are stored your scenarios\n" "\t (config files)\n") }, { NULL, "-cdir", "WorkingDir:", PARAM_PATH, (void *) NULL, &cfg.cache_dir, NULL, NULL, gettext_nop( "\t-cdir $dir - directory for storing documents\n") }, { NULL, "-subdir", "WorkingSubDir:", PARAM_PATH, (void *) NULL, &cfg.subdir, NULL, NULL, gettext_nop( "\t-subdir $dir - subdirectory of cdir to operate on\n") }, { NULL, "-scenario", NULL,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?