options.h

来自「网络爬虫程序」· C头文件 代码 · 共 3,196 行 · 第 1/5 页

H
3,196
字号
    },  {      NULL,      "-trelative",      "Relative:",      PARAM_STR,      (void *) NULL,      &cfg.time_relative,      NULL,      NULL,      gettext_nop(        "\t-trelative $str (object/program)\n"        "\t                   - what timings are relative to\n")    },  {      "-tp",      "-transparent_proxy",      "TransparentProxy:",      PARAM_TRANSPARENT,      (void *) NULL,      &cfg.transparent_proxy,      NULL,      NULL,      gettext_nop(        "\t-transparent_proxy $site[:$port]\n"        "\t                   - transparent proxy\n")    },  {      "-tsp",      "-transparent_ssl_proxy",      "TransparentSSLProxy:",      PARAM_TRANSPARENT,      (void *) NULL,      &cfg.transparent_ssl_proxy,      NULL,      NULL,      gettext_nop(        "\t-transparent_ssl_proxy $site[:$port]\n"        "\t                   - transparent SSL proxy\n")    },  {      NULL,      "-sdemo",      "SdemoMode:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.sdemo_mode,      NULL,      NULL,      gettext_nop(        "\t-sdemo_mode/-notsdemo_mode\n"        "\t                   - sdemo compatible output\n")    },  {      NULL,      "-noencode",      "NoEncode:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.noencode,      NULL,      NULL,      gettext_nop(        "\t-noencode          - do not perform rfc 2396 character encoding\n")    },  {      NULL,      "-stime",      "ShowDownloadTime:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.show_time,      NULL,      NULL,      gettext_nop(        "\t-stime/-nostime    - write starting and ending time of transfer\n")    },  {      NULL,      "-nostime",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.show_time,      NULL,      NULL,      NULL    },  {      NULL,      "-remove_old",      "RemoveOldDocuments:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.remove_old,      NULL,      NULL,      gettext_nop(        "\t-remove_old/-noremove_old\n"        "\t                   - remove improper files or directories while running\n"        "\t                     in sync mode\n")    },  {      NULL,      "-noremove_old",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.remove_old,      NULL,      NULL,      NULL    },  {      NULL,      "-remove_before_store",      "RemoveBeforeStore:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.remove_before_store,      NULL,      NULL,      gettext_nop(        "\t-remove_before_store/-noremove_before_store\n"        "\t                   - remove file before storing new content\n")    },  {      NULL,      "-noremove_before_store",      "RemoveBeforeStore:",      PARAM_NBOOL,      (void *) FALSE,      &cfg.remove_before_store,      NULL,      NULL,      NULL    },  {      NULL,      "-always_mdtm",      "AlwaysMDTM:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.always_mdtm,      NULL,      NULL,      gettext_nop(        "\t-always_mdtm/-noalways_mdtm\n"        "\t                   - always use MDTM to determine modifictaion time\n"        "\t                     of remote file; never use values from file listing\n")    },  {      NULL,      "-noalways_mdtm",      "AlwaysMDTM:",      PARAM_NBOOL,      (void *) FALSE,      &cfg.always_mdtm,      NULL,      NULL,      NULL    },  {      NULL,      "-auth_file",      "AuthFile:",      PARAM_PATH,      (void *) NULL,      &cfg.auth_file,      NULL,      NULL,      gettext_nop(        "\t-auth_file $file   - file where you have stored your auth infos\n"        "\t                     see manual for format description\n")    },  {      NULL,      "-base_level",      "BaseLevel:",      PARAM_NUM,      (void *) 0,      &cfg.base_level,      NULL,      NULL,      gettext_nop(        "\t-base_level $nr    - number of levels of directory tree to omit from top\n")    },  {      NULL,      "-ftp_active",      "ActiveFTPData:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.ftp_activec,      NULL,      NULL,      gettext_nop(        "\t-ftp_active        - select active FTP data connection\n")    },  {      NULL,      "-ftp_passive",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.ftp_activec,      NULL,      NULL,      gettext_nop(        "\t-ftp_passive       - select passive FTP data connection\n")    },  {      NULL,      "-active_ftp_port_range",      "ActiveFTPPortRange:",      PARAM_PORT_RANGE,      (void *) -1,      &cfg.active_ftp_min_port,      (void *) -1,      &cfg.active_ftp_max_port,      gettext_nop(        "\t-active_ftp_port_range $min:$max\n"        "\t                   - range of FTP data connection ports used\n"        "\t                     for active ftp\n")    },  {      NULL,      "-msgcat",      "NLSMessageCatalogDir:",#ifndef GETTEXT_NLS      PARAM_PATH | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else      PARAM_PATH,      (void *) NULL,      &cfg.msgcatd,      NULL,      NULL,      gettext_nop(        "\t-msgcat $dir       - directory where message catalogs are stored\n")#endif    },  {      NULL,      "-language",      "Language:",#ifndef GETTEXT_NLS      PARAM_STR | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else      PARAM_STR,      (void *) NULL,      &cfg.language,      NULL,      NULL,      gettext_nop(        "\t-language $str     - set language for messages\n")#endif    },  {      NULL,      "-quiet",      "Quiet:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.quiet,      NULL,      NULL,      gettext_nop(        "\t-quiet             - don't show output messages\n")     },  {      NULL,      "-verbose",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.quiet,      NULL,      NULL,      gettext_nop(        "\t-verbose           - show output messages (default)\n")    },  {      NULL,      "-newer_than",      "NewerThan:",      PARAM_TIME,      (void *) 0,      &cfg.condition.btime,      NULL,      NULL,      gettext_nop(        "\t-newer_than $time  - download only documents newer than $time\n"        "\t                     format of $time: YYYY.MM.DD.hh:mm\n")    },  {      NULL,      "-older_than",      "OlderThan:",      PARAM_TIME,      (void *) 0,      &cfg.condition.etime,      NULL,      NULL,      gettext_nop(        "\t-older_than $time  - download only documents older than $time\n"        "\t                     format of $time: YYYY.MM.DD.hh:mm\n")    },  {      NULL,      "-schedule",      NULL,      PARAM_TIME,      (void *) 0,      &cfg.schtime,      NULL,      NULL,      gettext_nop(        "\t-schedule $time    - schedule pavuk start at $time\n"        "\t                     format of $time: YYYY.MM.DD.hh:mm\n")    },  {      NULL,      "-reschedule",      "Reschedule:",      PARAM_NUM,      (void *) 0,      &cfg.reschedh,      NULL,      NULL,      gettext_nop(        "\t-reschedule $nr    - number of hours between two runs\n"        "\t                     for cyclic scheduling\n")    },  {      NULL,      "-dont_leave_site",      "DontLeaveSite:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.condition.dont_leave_site,      NULL,      NULL,      gettext_nop(        "\t-dont_leave_site/-leave_site\n"        "\t                   - don't/leave site of starting URL\n")    },  {      NULL,      "-leave_site",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.condition.dont_leave_site,      NULL,      NULL,      NULL    },  {      NULL,      "-dont_leave_dir",      "DontLeaveDir:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.condition.dont_leave_dir,      NULL,      NULL,      gettext_nop(        "\t-dont_leave_dir/-leave_dir\n"        "\t                   - don't/leave directory of starting URL\n")    },  {      NULL,      "-leave_dir",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.condition.dont_leave_dir,      NULL,      NULL,      NULL    },  {      NULL,      "-preserve_time",      "PreserveTime:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.preserve_time,      NULL,      NULL,      gettext_nop(        "\t-preserve_time/-nopreserve_time\n"        "\t                   - preserve document modification time\n")    },  {      NULL,      "-nopreserve_time",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.preserve_time,      NULL,      NULL,      NULL    },  {      NULL,      "-preserve_perm",      "PreservePermisions:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.preserve_perm,      NULL,      NULL,      gettext_nop(        "\t-preserve_perm/-nopreserve_perm\n"        "\t                   - preserve document permissions\n")    },  {      NULL,      "-nopreserve_perm",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.preserve_perm,      NULL,      NULL,      NULL    },  {      NULL,      "-preserve_slinks",      "PreserveAbsoluteSymlinks:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.preserve_links,      NULL,      NULL,      gettext_nop(        "\t-preserve_slinks/-nopreserve_slinks\n"        "\t                   - preserve absolute symlinks\n")    },  {      NULL,      "-nopreserve_slinks",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.preserve_links,      NULL,      NULL,      NULL    },  {      NULL,      "-leave_level",      "LeaveLevel:",      PARAM_NUM,      (void *) 0,      &cfg.condition.leave_level,      NULL,      NULL,      gettext_nop(        "\t-leave_level $nr   - how many tree levels leave from starting\n"        "\t                     site , (0 == don't care) default 0\n")    },  {      NULL,      "-cookie_file",      "CookieFile:",      PARAM_PATH,      (void *) NULL,      &cfg.cookie_file,      NULL,      NULL,      gettext_nop(        "\t-cookie_file $file - file where are stored cookie infos\n")    },  {      NULL,      "-cookie_send",      "CookieSend:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.send_cookies,      NULL,      NULL,      gettext_nop(        "\t-cookie_send/-nocookie_send\n"        "\t                   - send cookie info in HTTP request\n")    },  {      NULL,      "-nocookie_send",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.send_cookies,      NULL,      NULL,      NULL    },  {      NULL,      "-cookie_recv",      "CookieRecv:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.recv_cookies,      NULL,      NULL,      gettext_nop(        "\t-cookie_recv/-nocookie_recv\n"        "\t                   - accept cookies from HTTP response\n")    },  {      NULL,      "-nocookie_recv",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.recv_cookies,      NULL,      NULL,      NULL    },  {      NULL,      "-cookie_update",      "CookieUpdate:",      PARAM_PBOOL,      (void *) FALSE,      &cfg.update_cookies,      NULL,      NULL,      gettext_nop(        "\t-cookie_update/-nocookie_update\n"        "\t                   - update cookies in cookies file\n")    },  {      NULL,      "-nocookie_update",      NULL,      PARAM_NBOOL,      (void *) FALSE,      &cfg.update_cookies,      NULL,      NULL,      NULL    },  {      NULL,      "-cookie_check",      "CookieCheckDomain:",      PARAM_PBOOL,      (void *) TRUE,      &cfg.cookie_check_domain,      NULL,      NULL,      gettext_nop(        "\t-cookie_check/-nocookie_check\n"        "\t                   - check if cookies are set for source domain\n")    },  {      NULL,      "-nocookie_check",      NULL,      PARAM_NBOOL,      (void *) TRUE,      &cfg.cookie_check_domain,      NULL,      NULL,      NULL    },  {      NULL,      "-cookies_max",      "CookiesMax:",      PARAM_NUM,      (void *) 0,      &cfg.cookies_max,      NULL,      NULL,      gettext_nop(        "\t-cookies_max $nr   - maximal number of cookies in cookie cache\n")    },  {      NULL,      "-disabled_cookie_domains",      "DisabledCookieDomains:",      PARAM_STRLIST,      (void *) NULL,      &cfg.cookies_disabled_domains,      (void *) NULL,      NULL,      gettext_nop(        "\t-disabled_cookie_domains $list\n"        "\t                   - comma-separated list of disabled cookie domains\n")    },  {      NULL,      "-disable_html_tag",      "DisableHTMLTag:",      PARAM_HTMLTAG,      (void *) TRUE,      NULL,      NULL,      NULL,      gettext_nop(        "\t-disable_html_tag $TAG,[$ATTRIB][;...]\n"        "\t                   - disable processing of URLs from\n"        "\t                     attribute $ATTRIB of HTML tag $TAG\n")    },  {      NULL,      "-enable_html_tag",      "EnableHTMLTag:",      PARAM_HTMLTAG,      (void *) FALSE,      NULL,      NULL,      NULL,      gettext_nop(        "\t-enable_html_tag $TAG,[$ATTRIB][;...]\n"        "\t                   - enable proccessing of URLs from\n"        "\t                     attribute $ATTRIB of HTML tag $TAG\n")    },  {      NULL,      "-gui_font",      "GUIFont:",#ifndef I_FACE      PARAM_STR | PARAM_UNSUPPORTED, NULL, NULL, NULL, NULL, NULL#else      PARAM_STR,      (void *) NULL,      &cfg.fontname,      NULL,      NULL,

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?