55#
66# Translators:
778+ # Freesand Leo <[email protected] >, 202089#
910#, fuzzy
1011msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314"Report-Msgid-Bugs-To : \n "
1415"POT-Creation-Date : 2020-01-01 12:19+0000\n "
1516"PO-Revision-Date : 2017-02-16 23:34+0000\n "
16- "Last-Translator : 汪心禾 <wangxinhe06@gmail .com>, 2019 \n "
17+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2020 \n "
1718"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1819"MIME-Version : 1.0\n "
1920"Content-Type : text/plain; charset=UTF-8\n "
@@ -37,42 +38,47 @@ msgid ""
3738"on the structure of :file:`robots.txt` files, see "
3839"http://www.robotstxt.org/orig.html."
3940msgstr ""
41+ "此模块提供了一个单独的类 :class:`RobotFileParser`,它可以回答关于某个特定用户代理是否能在 Web 站点获取发布 "
42+ ":file:`robots.txt` 文件的 URL 的问题。 有关 :file:`robots.txt` 文件结构的更多细节请参阅 "
43+ "http://www.robotstxt.org/orig.html。"
4044
4145#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:28
4246msgid ""
4347"This class provides methods to read, parse and answer questions about the "
4448":file:`robots.txt` file at *url*."
45- msgstr ""
49+ msgstr "这个类提供了一些可以读取、解析和回答关于 *url* 上的 :file:`robots.txt` 文件的问题的方法。 "
4650
4751#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:33
4852msgid "Sets the URL referring to a :file:`robots.txt` file."
49- msgstr ""
53+ msgstr "设置指向 :file:`robots.txt` 文件的 URL。 "
5054
5155#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:37
5256msgid "Reads the :file:`robots.txt` URL and feeds it to the parser."
53- msgstr ""
57+ msgstr "读取 :file:`robots.txt` URL 并将其输入解析器。 "
5458
5559#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:41
5660msgid "Parses the lines argument."
57- msgstr ""
61+ msgstr "解析行参数。 "
5862
5963#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:45
6064msgid ""
6165"Returns ``True`` if the *useragent* is allowed to fetch the *url* according "
6266"to the rules contained in the parsed :file:`robots.txt` file."
6367msgstr ""
68+ "如果允许 *useragent* 按照被解析 :file:`robots.txt` 文件中的规则来获取 *url* 则返回 ``True``。"
6469
6570#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:51
6671msgid ""
6772"Returns the time the ``robots.txt`` file was last fetched. This is useful "
6873"for long-running web spiders that need to check for new ``robots.txt`` files"
6974" periodically."
7075msgstr ""
76+ "返回最近一次获取 ``robots.txt`` 文件的时间。 这适用于需要定期检查 ``robots.txt`` 文件更新情况的长时间运行的网页爬虫。"
7177
7278#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:57
7379msgid ""
7480"Sets the time the ``robots.txt`` file was last fetched to the current time."
75- msgstr ""
81+ msgstr "将最近一次获取 ``robots.txt`` 文件的时间设置为当前时间。 "
7682
7783#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:62
7884msgid ""
@@ -81,6 +87,8 @@ msgid ""
8187"apply to the *useragent* specified or the ``robots.txt`` entry for this "
8288"parameter has invalid syntax, return ``None``."
8389msgstr ""
90+ "为指定的 *useragent* 从 ``robots.txt`` 返回 ``Crawl-delay`` 形参。 如果此形参不存在或不适用于指定的 "
91+ "*useragent* 或者此形参的 ``robots.txt`` 条目存在语法错误,则返回 ``None``。"
8492
8593#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:71
8694msgid ""
@@ -89,16 +97,21 @@ msgid ""
8997"such parameter or it doesn't apply to the *useragent* specified or the "
9098"``robots.txt`` entry for this parameter has invalid syntax, return ``None``."
9199msgstr ""
100+ "以 :term:`named tuple` ``RequestRate(requests, seconds)`` 的形式从 ``robots.txt``"
101+ " 返回 ``Request-rate`` 形参的内容。 如果此形参不存在或不适用于指定的 *useragent* 或者此形参的 "
102+ "``robots.txt`` 条目存在语法错误,则返回 ``None``。"
92103
93104#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:81
94105msgid ""
95106"Returns the contents of the ``Sitemap`` parameter from ``robots.txt`` in the"
96107" form of a :func:`list`. If there is no such parameter or the ``robots.txt``"
97108" entry for this parameter has invalid syntax, return ``None``."
98109msgstr ""
110+ "以 :func:`list` 的形式从 ``robots.txt`` 返回 ``Sitemap`` 形参的内容。 如果此形参不存在或者此形参的 "
111+ "``robots.txt`` 条目存在语法错误,则返回 ``None``。"
99112
100113#: /home/travis/build/python/cpython-doc-catalog/Doc/library/urllib.robotparser.rst:89
101114msgid ""
102115"The following example demonstrates basic use of the :class:`RobotFileParser`"
103116" class::"
104- msgstr ""
117+ msgstr "下面的例子演示了 :class:`RobotFileParser` 类的基本用法:: "
0 commit comments