# SOME DESCRIPTIVE TITLE.
# Copyright (C) Kovid Goyal
# This file is distributed under the same license as the calibre package.
# 
# Translators:
# RERBIN MA, 2025
# tony shen <anthanny@hotmail.com>, 2020,2024
msgid ""
msgstr ""
"Project-Id-Version: calibre\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-17 08:29+0000\n"
"PO-Revision-Date: 2014-06-17 08:36+0000\n"
"Last-Translator: RERBIN MA, 2025\n"
"Language-Team: Chinese (China) (http://app.transifex.com/calibre/calibre/language/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: ../../../__w/calibre/calibre/manual/news_recipe.rst:4
msgid "API documentation for recipes"
msgstr "清单的API文档"

#: ../../../__w/calibre/calibre/manual/news_recipe.rst:9
msgid "The API for writing recipes is defined by the :class:`BasicNewsRecipe`"
msgstr "编写清单的API由\"BasicNewsRecipe\"定义"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe:1
msgid ""
"Base class that contains logic needed in all recipes. By overriding "
"progressively more of the functionality in this class, you can make "
"progressively more customized/powerful recipes. For a tutorial introduction "
"to creating recipes, see :doc:`news`."
msgstr "包含所有新闻源所需逻辑的基类。 通过逐渐覆盖此类中的更多功能，您可以逐渐制作更加定制/强大的新闻源。 有关创建新闻源的教程介绍，请参阅“新闻”。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.adeify_images:1
msgid ""
"If your recipe when converted to EPUB has problems with images when viewed "
"in Adobe Digital Editions, call this method from within "
":meth:`postprocess_html`."
msgstr "如果您的新闻在转换为 EPUB 后在 Adobe Digital Editions 中查看时出现图像问题，请从“postprocess_html”中调用此方法。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.image_url_processor:1
msgid ""
"Perform some processing on image urls (perhaps removing size restrictions "
"for dynamically generated images, etc.) and return the processed URL. Return"
" None or an empty string to skip fetching the image."
msgstr "对图像 url 执行一些处理（可能消除动态生成的图像的大小限制等）并返回处理后的 URL。 返回 None 或空字符串以跳过获取图像。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.print_version:1
msgid ""
"Take a `url` pointing to the webpage with article content and return the "
":term:`URL` pointing to the print version of the article. By default does "
"nothing. For example::"
msgstr "获取指向包含文章内容的网页的“url”，并返回指向文章打印版本的“URL”。 默认情况下不执行任何操作。 例如："

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:1
msgid ""
"Convenience method to take a `BeautifulSoup "
"<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag` and "
"extract the text from it recursively, including any CDATA sections and alt "
"tag attributes. Return a possibly empty Unicode string."
msgstr "获取 `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ `Tag` 并从中递归提取文本的便捷方法，包括任何 CDATA 部分和 alt 标签属性。 返回一个可能为空的 Unicode 字符串。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:6
msgid ""
"`use_alt`: If `True` try to use the alt attribute for tags that don't have "
"any textual content"
msgstr "`use_alt`：如果为`True`，则尝试对没有任何文本内容的标签使用 alt 属性"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:9
msgid ""
"`tag`: `BeautifulSoup "
"<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag`"
msgstr "`tag`: `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ `标签`"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.abort_article:1
msgid ""
"Call this method inside any of the preprocess methods to abort the download "
"for the current article. Useful to skip articles that contain inappropriate "
"content, such as pure video articles."
msgstr "在任何预处理方法中调用此方法可中止当前文章的下载。 有助于跳过包含不当内容的文章，例如纯视频文章。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.abort_recipe_processing:1
msgid ""
"Causes the recipe download system to abort the download of this recipe, "
"displaying a simple feedback message to the user."
msgstr "导致新闻源下载系统中止此新闻源的下载，并向用户显示一条简单的反馈消息。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.add_toc_thumbnail:1
msgid ""
"Call this from populate_article_metadata with the src attribute of an <img> "
"tag from the article that is appropriate for use as the thumbnail "
"representing the article in the Table of Contents. Whether the thumbnail is "
"actually used is device dependent (currently only used by the Kindles). Note"
" that the referenced image must be one that was successfully downloaded, "
"otherwise it will be ignored."
msgstr "从 populate_article_metadata 调用此方法，并使用文章中 <img>标记的 src 属性，该标记适合用作代表目录中文章的缩略图。 缩略图是否实际使用取决于设备（目前仅由 Kindle 使用）。 注意，引用的图片必须是已成功下载的图片，否则会被忽略。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:1
msgid ""
"Return a set of canonical representations of ``url``.  The default "
"implementation uses just the server hostname and path of the URL, ignoring "
"any query parameters, fragments, etc. The canonical representations must be "
"unique across all URLs for this news source. If they are not, then internal "
"links may be resolved incorrectly."
msgstr "返回一组“url”的规范表示。 默认实现仅使用服务器主机名和 URL 路径，忽略任何查询参数、片段等。规范表示在该新闻源的所有 URL 中必须是唯一的。 如果不是，则内部链接可能无法正确解析。"

#: ../../../__w/calibre/calibre/manual/news_recipe.rst:0
msgid "Parameters"
msgstr "参数"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:7
msgid ""
"Is True if the URL is coming from an internal link in an HTML file. False if"
" the URL is the URL used to download an article."
msgstr "如果 URL 来自 HTML 文件中的内部链接，则为 True。 如果 URL 是用于下载文章的 URL，则为 False。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.cleanup:1
msgid ""
"Called after all articles have been download. Use it to do any cleanup like "
"logging out of subscription sites, etc."
msgstr "下载完所有文章后调用。 用它来进行任何清理，例如注销订阅网站等。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:1
msgid ""
"Clone the browser br. Cloned browsers are used for multi-threaded downloads,"
" since mechanize is not thread safe. The default cloning routines should "
"capture most browser customization, but if you do something exotic in your "
"recipe, you should override this method in your recipe and clone manually."
msgstr "克隆浏览器br。 克隆浏览器用于多线程下载，因为 mechanize 不是线程安全的。 默认克隆例程应该捕获大多数浏览器自定义，但如果您在新闻源中做了一些奇怪的事情，则应该在新闻源中覆盖此方法并手动克隆。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:7
msgid ""
"Cloned browser instances use the same, thread-safe CookieJar by default, "
"unless you have customized cookie handling."
msgstr "默认情况下，克隆的浏览器实例使用相同的线程安全 CookieJar，除非您自定义了 cookie 处理。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.default_cover:1
msgid "Create a generic cover for recipes that don't have a cover"
msgstr "为没有封面的新闻源创建通用封面"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.download:1
msgid ""
"Download and pre-process all articles from the feeds in this recipe. This "
"method should be called only once on a particular Recipe instance. Calling "
"it more than once will lead to undefined behavior. :return: Path to "
"index.html"
msgstr "下载并预处理本新闻源中提要中的所有文章。 该方法只能在特定的 Recipe 实例上调用一次。 多次调用它会导致未定义的行为。 index.html 的路径"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.extract_readable_article:1
msgid ""
"Extracts main article content from 'html', cleans up and returns as a "
"(article_html, extracted_title) tuple. Based on the original readability "
"algorithm by Arc90."
msgstr "从“html”中提取主要文章内容，进行清理并以（article_html，extracted_title）元组形式返回。 基于Arc90原创的可读性算法。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_article_url:1
msgid ""
"Override in a subclass to customize extraction of the :term:`URL` that "
"points to the content for each article. Return the article URL. It is called"
" with `article`, an object representing a parsed article from a feed. See "
"`feedparser <https://pythonhosted.org/feedparser/>`_. By default it looks "
"for the original link (for feeds syndicated via a service like FeedBurner or"
" Pheedo) and if found, returns that or else returns `article.link "
"<https://pythonhosted.org/feedparser/reference-entry-link.html>`_."
msgstr "在子类中重写以自定义指向每篇文章内容的“URL”的提取。 返回文章网址。 它通过“article”来调用，“article”是一个表示来自提要的已解析文章的对象。 请参阅“feedparser <https://pythonhosted.org/feedparser/>”_。 默认情况下，它会查找原始链接（通过 FeedBurner 或 Pheedo 等服务联合供稿），如果找到，则返回该链接，否则返回“https://pythonhosted.org/feedparser/reference-entry-link.html>`_。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_browser:1
msgid ""
"Return a browser instance used to fetch documents from the web. By default "
"it returns a `mechanize <https://mechanize.readthedocs.io/en/latest/>`_ "
"browser instance that supports cookies, ignores robots.txt, handles "
"refreshes and has a random common user agent."
msgstr "返回用于从Web获取文档的浏览器实例。默认情况下，它返回一个'机械化<https://mechanize.readthedocs.io/en/latest/>'_浏览器实例，该实例支持cookie、忽略robots. text、处理刷新并具有随机的公共用户代理。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_browser:6
msgid "To customize the browser override this method in your sub-class as::"
msgstr "要自定义浏览器，请在您的子类别中重写此方法："

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_cover_url:1
msgid ""
"Return a :term:`URL` to the cover image for this issue or `None`. By default"
" it returns the value of the member `self.cover_url` which is normally "
"`None`. If you want your recipe to download a cover for the e-book override "
"this method in your subclass, or set the member variable `self.cover_url` "
"before this method is called."
msgstr "返回此问题封面图片的“URL”或“None”。 默认情况下，它返回成员“self.cover_url”的值，通常为“None”。 如果您希望您的新闻源下载电子书的封面，请在子类中重写此方法，或者在调用此方法之前设置成员变量“self.cover_url”。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_extra_css:1
msgid ""
"By default returns `self.extra_css`. Override if you want to "
"programmatically generate the extra_css."
msgstr "默认情况下返回“self.extra_css”。 如果您想以编程方式生成 extra_css，请覆盖。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_feeds:1
msgid ""
"Return a list of :term:`RSS` feeds to fetch for this profile. Each element "
"of the list must be a 2-element tuple of the form (title, url). If title is "
"None or an empty string, the title from the feed is used. This method is "
"useful if your recipe needs to do some processing to figure out the list of "
"feeds to download. If so, override in your subclass."
msgstr "返回要为此配置文件获取的“RSS”提要列表。 列表中的每个元素必须是 (title, url) 形式的 2 元素元组。 如果 title 为 None 或空字符串，则使用提要中的标题。 如果您的新闻源需要进行一些处理来找出要下载的提要列表，则此方法非常有用。 如果是这样，请在您的子类中重写。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_title:1
msgid "Override in subclass to use something other than the recipe title"
msgstr "在子类中重写以使用新闻源标题以外的内容"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_url:1
msgid ""
"Return a :term:`URL` to the masthead image for this issue or `None`. By "
"default it returns the value of the member `self.masthead_url` which is "
"normally `None`. If you want your recipe to download a masthead for the "
"e-book override this method in your subclass, or set the member variable "
"`self.masthead_url` before this method is called. Masthead images are used "
"in Kindle MOBI files."
msgstr "返回此问题的标头图片的“URL”或“无”。 默认情况下，它返回成员“self.masthead_url”的值，通常为“None”。 如果您希望您的新闻源下载电子书的标头，请在子类中重写此方法，或者在调用此方法之前设置成员变量 self.masthead_url 。 标头图像用于 Kindle MOBI 文件中。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:1
msgid ""
"If you set `articles_are_obfuscated` this method is called with every "
"article URL. It should return the path to a file on the filesystem that "
"contains the article HTML. That file is processed by the recursive HTML "
"fetching engine, so it can contain links to pages/images on the web. "
"Alternately, you can return a dictionary of the form: {'data': <HTML data>, "
"'url': <the resolved URL of the article>}. This avoids needing to create "
"temporary files. The `url` key in the dictionary is useful if the effective "
"URL of the article is different from the URL passed into this method, for "
"example, because of redirects. It can be omitted if the URL is unchanged."
msgstr "如果您设置了“articles_are_obfuscated”，则每个文章 URL 都会调用此方法。 它应该返回文件系统上包含文章 HTML 的文件的路径。 该文件由递归 HTML 获取引擎处理，因此它可以包含指向 Web 上的页面/图像的链接。 或者，您可以返回以下形式的字典：{'data': 1, 'url': 2}。 这避免了需要创建临时文件。 如果文章的有效 URL 与传递到此方法的 URL 不同，例如由于重定向，则字典中的“url”键很有用。 如果 URL 不变，则可以省略。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:11
msgid ""
"This method is typically useful for sites that try to make it difficult to "
"access article content automatically."
msgstr "此方法通常适用于试图阻止自动访问文章内容的网站。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:1
msgid ""
"Return the delay in seconds before downloading this URL. If you want to "
"programmatically determine the delay for the specified URL, override this "
"method in your subclass, returning self.delay by default for URLs you do not"
" want to affect."
msgstr "返回下载此 URL 之前的延迟，以秒为单位。 如果您想以编程方式确定指定 URL 的延迟，请在子类中重写此方法，默认情况下为您不想影响的 URL 返回 self.delay。"

#: ../../../__w/calibre/calibre/manual/news_recipe.rst:0
msgid "Returns"
msgstr "返回"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:5
msgid "A floating point number, the delay in seconds."
msgstr "浮点数，以秒为单位的延迟。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:1
msgid ""
"Convenience method that takes an URL to the index page and returns a "
"`BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc>`__ of"
" it."
msgstr "便捷方法，获取索引页面的 URL 并返回它的 `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc>`__。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:5
msgid "`url_or_raw`: Either a URL or the downloaded index page as a string"
msgstr "`url_or_raw`：URL 或下载的索引页作为字符串"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:1
msgid ""
"Return True if the link should be followed or False otherwise. By default, "
"raises NotImplementedError which causes the downloader to ignore it."
msgstr "如果应遵循链接，则返回 True，否则返回 False。 默认情况下，引发 NotImplementedError ，导致下载器忽略它。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:5
msgid "The URL to be followed"
msgstr "要关注的 URL"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:6
msgid "The tag from which the URL was derived"
msgstr "派生 URL 的标签"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.parse_feeds:1
msgid ""
"Create a list of articles from the list of feeds returned by "
":meth:`BasicNewsRecipe.get_feeds`. Return a list of :class:`Feed` objects."
msgstr "从“BasicNewsRecipe.get_feeds”返回的提要列表中创建文章列表。 返回“Feed”对象的列表。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:1
msgid ""
"This method should be implemented in recipes that parse a website instead of"
" feeds to generate a list of articles. Typical uses are for news sources "
"that have a \"Print Edition\" webpage that lists all the articles in the "
"current print edition. If this function is implemented, it will be used in "
"preference to :meth:`BasicNewsRecipe.parse_feeds`."
msgstr "此方法应该在解析网站而不是提要来生成文章列表的新闻源中实现。 典型用途是具有“印刷版”网页的新闻源，其中列出了当前印刷版的所有文章。 如果实现此功能，它将优先于“BasicNewsRecipe.parse_feeds”使用。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:7
msgid ""
"It must return a list. Each element of the list must be a 2-element tuple of"
" the form ``('feed title', list of articles)``."
msgstr "它必须返回一个列表。 列表中的每个元素必须是形式为``('提要标题'，文章列表)`` 的 2 元素元组。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:10
msgid "Each list of articles must contain dictionaries of the form::"
msgstr "每个文章列表必须包含以下形式的字典："

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:23
msgid ""
"For an example, see the recipe for downloading `The Atlantic`. In addition, "
"you can add 'author' for the author of the article."
msgstr "例如，请参阅下载“The Atlantic”的方法。 此外，您可以为文章的作者添加“作者”。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:26
msgid ""
"If you want to abort processing for some reason and have calibre show the "
"user a simple message instead of an error, call "
":meth:`abort_recipe_processing`."
msgstr "如果您想出于某种原因中止处理并让 calibre 向用户显示一条简单的消息而不是错误，请调用“abort_recipe_processing”。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:1
msgid ""
"Called when each HTML page belonging to article is downloaded. Intended to "
"be used to get article metadata like author/summary/etc. from the parsed "
"HTML (soup)."
msgstr "下载属于文章的每个 HTML 页面时调用。 旨在用于获取文章元数据，如作者/摘要/等。 来自解析的 HTML（汤）。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:5
msgid ""
"A object of class :class:`calibre.web.feeds.Article`. If you change the "
"summary, remember to also change the text_summary"
msgstr "`calibre.web.feeds.Article` 类的对象。 如果更改摘要，请记住同时更改 text_summary"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:7
msgid "Parsed HTML belonging to this article"
msgstr "属于本文的已解析 HTML"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:8
msgid "True iff the parsed HTML is the first page of the article."
msgstr "当且仅当解析的 HTML 是文章的第一页时为 true。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:1
msgid "Run any needed post processing on the parsed downloaded e-book."
msgstr "对已解析的下载电子书运行任何所需的后处理。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:3
msgid "An OEBBook object"
msgstr "一个 OEBBook 对象"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:4
msgid "Conversion options"
msgstr "转换选项"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:1
msgid ""
"This method is called with the source of each downloaded :term:`HTML` file, "
"after it is parsed for links and images. It can be used to do arbitrarily "
"powerful post-processing on the :term:`HTML`. It should return `soup` after "
"processing it."
msgstr "在解析链接和图像后，使用每个下载的 HTML 文件的源调用此方法。 它可用于对 HTML 进行任意强大的后处理。 处理后它应该返回`soup`。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:6
msgid ""
"A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__"
"  instance containing the downloaded :term:`HTML`."
msgstr "一个 `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ 实例，包含下载的 `HTML`。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:7
msgid "True if this is the first page of an article."
msgstr "如果这是文章的第一页，则为 true。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:1
msgid ""
"This method is called with the source of each downloaded :term:`HTML` file, "
"before it is parsed for links and images. It is called after the cleanup as "
"specified by remove_tags etc. It can be used to do arbitrarily powerful pre-"
"processing on the :term:`HTML`. It should return `soup` after processing it."
msgstr "在解析链接和图像之前，使用每个下载的“HTML”文件的源调用此方法。 它在remove_tags等指定的清理之后被调用。它可以用来对“HTML”进行任意强大的预处理。 处理后它应该返回`soup`。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:7
#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:8
msgid ""
"`soup`: A `BeautifulSoup "
"<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ instance "
"containing the downloaded :term:`HTML`."
msgstr "`soup`：一个 `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ 实例，包含下载的 :term:`HTML`。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_image:1
msgid ""
"Perform some processing on downloaded image data. This is called on the raw "
"data before any resizing is done. Must return the processed raw data. Return"
" None to skip the image."
msgstr "对下载的图像数据进行一些处理。 在完成任何大小调整之前，会对原始数据调用此方法。 必须返回处理后的原始数据。 返回 None 以跳过图像。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:1
msgid ""
"This method is called with the source of each downloaded :term:`HTML` file, "
"before it is parsed into an object tree. raw_html is a unicode string "
"representing the raw HTML downloaded from the web. url is the URL from which"
" the HTML was downloaded."
msgstr "在将每个下载的 HTML 文件解析为对象树之前，会调用此方法。 raw_html 是一个 unicode 字符串，表示从网络下载的原始 HTML。 url 是下载 HTML 的 URL。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:6
msgid "Note that this method acts *before* preprocess_regexps."
msgstr "请注意，此方法在 preprocess_regexps *之前*起作用。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:8
msgid "This method must return the processed raw_html as a unicode object."
msgstr "此方法必须将处理后的 raw_html 作为 unicode 对象返回。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.publication_date:1
msgid ""
"Use this method to set the date when this issue was published. Defaults to "
"the moment of download. Must return a :class:`datetime.datetime` object."
msgstr "使用此方法设置此问题的发布日期。 默认为下载时刻。 必须返回一个“datetime.datetime”对象。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:1
msgid ""
"This method is called with the source of each downloaded :term:`HTML` file, "
"before any of the cleanup attributes like remove_tags, keep_only_tags are "
"applied. Note that preprocess_regexps will have already been applied. It is "
"meant to allow the recipe to skip ad pages. If the soup represents an ad "
"page, return the HTML of the real page. Otherwise return None."
msgstr "在应用任何清理属性（如remove_tags、keep_only_tags）之前，使用每个下载的 HTML 文件的源调用此方法。 请注意，preprocess_regexps 已被应用。 它的目的是允许菜谱跳过广告页面。 如果汤代表广告页面，则返回真实页面的 HTML。 否则返回 None。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:1
msgid ""
"Convenience method to sort the titles in `index` according to `weights`. "
"`index` is sorted in place. Returns `index`."
msgstr "根据“权重”对“索引”中的标题进行排序的便捷方法。 `index` 已就地排序。 返回“索引”。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:4
msgid "`index`: A list of titles."
msgstr "`index`: 标题列表。"

#: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
#: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:6
msgid ""
"`weights`: A dictionary that maps weights to titles. If any titles in index "
"are not in weights, they are assumed to have a weight of 0."
msgstr "`weights`：将权重映射到标题的字典。 如果索引中的任何标题不在权重中，则假定它们的权重为 0。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.articles_are_obfuscated:1
msgid ""
"Set to True and implement :meth:`get_obfuscated_article` to handle websites "
"that try to make it difficult to scrape content."
msgstr "设置为 True 并实施 `get_obfuscated_article` 来处理那些试图让抓取内容变得困难的网站。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup:1
msgid ""
"Automatically extract all the text from downloaded article pages. Uses the "
"algorithms from the readability project. Setting this to True, means that "
"you do not have to worry about cleaning up the downloaded HTML manually "
"(though manual cleanup will always be superior)."
msgstr "自动从下载的文章页面中提取所有文本。 使用可读性项目中的算法。 将其设置为 True 意味着您不必担心手动清理下载的 HTML（尽管手动清理总是更好）。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup_keep:1
msgid ""
"Specify elements that the auto cleanup algorithm should never remove. The "
"syntax is a XPath expression. For example::"
msgstr "指定自动清理算法永远不应删除的元素。 语法是 XPath 表达式。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.browser_type:1
msgid ""
"The simulated browser engine to use when downloading from servers. The "
"default is to use the Python mechanize browser engine, which supports "
"logging in. However, if you don't need logging in, consider changing this to"
" either 'webengine' which uses an actual Chromium browser to do the network "
"requests or 'qt' which uses the Qt Networking backend. Both 'webengine' and "
"'qt' support HTTP/2, which mechanize does not and are thus harder to "
"fingerprint for bot protection services."
msgstr "从服务器下载时使用的模拟浏览器引擎。默认使用Python机械化浏览器引擎，支持登录。但是，如果您不需要登录，请考虑将其更改为“webengine”（使用实际Chromium浏览器执行网络请求）或“qt”（使用Qt Networks后台）。“webengine”和“qt”都支持HTTP/2，但机制不支持，因此更难为机器人保护服务进行指纹识别。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.center_navbar:1
msgid ""
"If True the navigation bar is center aligned, otherwise it is left aligned"
msgstr "如果 True 则导航栏居中对齐，否则左对齐"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images:1
msgid ""
"Set this to False to ignore all scaling and compression parameters and pass "
"images through unmodified. If True and the other compression parameters are "
"left at their default values, images will be scaled to fit in the screen "
"dimensions set by the output profile and compressed to size at most (w * "
"h)/16 where w x h are the scaled image dimensions."
msgstr "将此项设置为 False 时，所有缩放和压缩参数都会被忽略，图片将不作任何修改直接传输。\n如果设置为 True，且其他压缩参数保持默认值，则图片会根据输出配置文件中设定的屏幕尺寸进行缩放，并被压缩至最大尺寸为 (w × h)/16，其中 w 和 h 是缩放后的图片宽高。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_auto_size:1
msgid ""
"The factor used when auto compressing JPEG images. If set to None, auto "
"compression is disabled. Otherwise, the images will be reduced in size to (w"
" * h)/compress_news_images_auto_size bytes if possible by reducing the "
"quality level, where w x h are the image dimensions in pixels. The minimum "
"JPEG quality will be 5/100 so it is possible this constraint will not be "
"met.  This parameter can be overridden by the parameter "
"compress_news_images_max_size which provides a fixed maximum size for "
"images. Note that if you enable scale_news_images_to_device then the image "
"will first be scaled and then its quality lowered until its size is less "
"than (w * h)/factor where w and h are now the *scaled* image dimensions. In "
"other words, this compression happens after scaling."
msgstr "自动压缩 JPEG 图像时使用的系数。 如果设置为 None，则禁用自动压缩。 否则，如果可能的话，通过降低质量级别，图像的大小将减小到 (w * h)/compress_news_images_auto_size 字节，其中 w x h 是图像尺寸，以像素为单位。 最低 JPEG 质量将为 5/100，因此可能无法满足此限制。 该参数可以被参数 compress_news_images_max_size 覆盖，该参数提供图像的固定最大大小。 请注意，如果启用scale_news_images_to_device，则图像将首先缩放，然后降低其质量，直到其大小小于 (w * h)/factor，其中 w 和 h 现在是*缩放*图像尺寸。 换句话说，这种压缩发生在缩放之后。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_max_size:1
msgid ""
"Set JPEG quality so images do not exceed the size given (in KBytes). If set,"
" this parameter overrides auto compression via "
"compress_news_images_auto_size. The minimum JPEG quality will be 5/100 so it"
" is possible this constraint will not be met."
msgstr "设置 JPEG 质量，使图像不超过给定的大小（以千字节为单位）。 如果设置，此参数将覆盖通过 compress_news_images_auto_size 自动压缩。 最低 JPEG 质量将为 5/100，因此可能无法满足此限制。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.conversion_options:1
msgid ""
"Recipe specific options to control the conversion of the downloaded content "
"into an e-book. These will override any user or plugin specified values, so "
"only use if absolutely necessary. For example::"
msgstr "用于控制将下载的内容转换为电子书的特定于新闻源的选项。 这些将覆盖任何用户或插件指定的值，因此仅在绝对必要时使用。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.cover_margins:1
msgid ""
"By default, the cover image returned by get_cover_url() will be used as the "
"cover for the periodical.  Overriding this in your recipe instructs calibre "
"to render the downloaded cover into a frame whose width and height are "
"expressed as a percentage of the downloaded cover. cover_margins = (10, 15, "
"'#ffffff') pads the cover with a white margin 10px on the left and right, "
"15px on the top and bottom. Color names are defined `here "
"<https://www.imagemagick.org/script/color.php>`_. Note that for some reason,"
" white does not always work in Windows. Use #ffffff instead"
msgstr "默认情况下， get_cover_url() 返回的封面图像将用作期刊的封面。 在您的配方中覆盖此选项会指示 calibre 将下载的封面渲染到一个框架中，该框架的宽度和高度以下载封面的百分比表示。 cover_margins = (10, 15, '#ffffff') 在封面上填充左侧和右侧 10 像素的白边距，顶部和底部 15 像素的白边距。 颜色名称在“此处 <https://www.imagemagick.org/script/color.php>”定义。 请注意，由于某种原因，白色并不总是在 Windows 中起作用。 使用#ffffff代替"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.delay:1
msgid ""
"The default delay between consecutive downloads in seconds. The argument may"
" be a floating point number to indicate a more precise time. See "
":meth:`get_url_specific_delay` to implement per URL delays."
msgstr "连续下载之间的默认延迟，以秒为单位。 该参数可以是浮点数以指示更精确的时间。 请参阅“get_url_specific_delay”来实现每个 URL 的延迟。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.description:1
msgid ""
"A couple of lines that describe the content this recipe downloads. This will"
" be used primarily in a GUI that presents a list of recipes."
msgstr "几行描述了此新闻源下载的内容。 这将主要用在显示新闻源列表的 GUI 中。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.encoding:1
msgid ""
"Specify an override encoding for sites that have an incorrect charset "
"specification. The most common being specifying ``latin1`` and using "
"``cp1252``. If None, try to detect the encoding. If it is a callable, the "
"callable is called with two arguments: The recipe object and the source to "
"be decoded. It must return the decoded source."
msgstr "为字符集规范不正确的站点指定覆盖编码。 最常见的是指定“latin1”并使用“cp1252”。 如果没有，请尝试检测编码。 如果它是可调用的，则使用两个参数调用可调用的：新闻源对象和要解码的源。 它必须返回解码后的源。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.extra_css:1
msgid ""
"Specify any extra :term:`CSS` that should be added to downloaded "
":term:`HTML` files. It will be inserted into `<style>` tags, just before the"
" closing `</head>` tag thereby overriding all :term:`CSS` except that which "
"is declared using the style attribute on individual :term:`HTML` tags. Note "
"that if you want to programmatically generate the extra_css override the "
":meth:`get_extra_css()` method instead. For example::"
msgstr "指定应添加到下载的“HTML”文件中的任何额外“CSS”。 它将被插入到“<style>”标签中，就在结束“</head>”标签之前，从而覆盖所有“CSS”，除了在各个“HTML”标签上使用 style 属性声明的内容之外。 请注意，如果您想以编程方式生成 extra_css，请重写“get_extra_css()”方法。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.feeds:1
msgid ""
"List of feeds to download. Can be either ``[url1, url2, ...]`` or "
"``[('title1', url1), ('title2', url2),...]``"
msgstr "要下载的提要列表。 可以是 ``[url1, url2, ...]`` 或 ``[('title1', url1), ('title2', url2),...]``"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:1
msgid ""
"List of regular expressions that determines which links to ignore. If empty "
"it is ignored. Used only if is_link_wanted is not implemented. For example::"
msgstr "确定要忽略哪些链接的正则表达式列表。 如果为空则被忽略。 仅当未实现 is_link_wanted 时使用。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:7
msgid "will remove all URLs that have `ads.doubleclick.net` in them."
msgstr "将删除其中包含“ads.doubleclick.net”的所有网址。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:9
#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:9
msgid ""
"Only one of :attr:`BasicNewsRecipe.match_regexps` or "
":attr:`BasicNewsRecipe.filter_regexps` should be defined."
msgstr "仅应定义“BasicNewsRecipe.match_regexps”或“BasicNewsRecipe.filter_regexps”之一。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.handle_gzip:1
msgid ""
"Set to False if you do not want to use gzipped transfers with the mechanize "
"browser. Note that some old servers flake out with gzip."
msgstr "如果您不想在机械化浏览器中使用gzipped传输，请设置为False。请注意，一些旧服务器因gZip而崩溃。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:1
msgid ""
"Ignore duplicates of articles that are present in more than one section. A "
"duplicate article is an article that has the same title and/or URL. To "
"ignore articles with the same title, set this to::"
msgstr "忽略出现在多个部分中的重复文章。 重复文章是指具有相同标题和/或 URL 的文章。 要忽略具有相同标题的文章，请将其设置为："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:7
msgid "To use URLs instead, set it to::"
msgstr "要改为使用 URL，请将其设置为："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:11
msgid "To match on title or URL, set it to::"
msgstr "要匹配标题或 URL，请将其设置为："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:1
msgid ""
"Keep only the specified tags and their children. For the format for "
"specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. If this list is "
"not empty, then the `<body>` tag will be emptied and re-filled with the tags"
" that match the entries in this list. For example::"
msgstr "仅保留指定的标签及其子标签。 有关指定标签的格式，请参阅“BasicNewsRecipe.remove_tags”。 如果此列表不为空，则“<body>”标签将被清空并用与此列表中的条目匹配的标签重新填充。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:8
msgid ""
"will keep only tags that have an `id` attribute of `\"content\"` or "
"`\"heading\"`."
msgstr "将仅保留具有“id”属性为“内容”或“标题”的标签。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.language:1
msgid ""
"The language that the news is in. Must be an ISO-639 code either two or "
"three characters long"
msgstr "新闻所使用的语言。必须是 ISO-639 代码，长度为两个或三个字符"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.masthead_url:1
msgid ""
"By default, calibre will use a default image for the masthead (Kindle only)."
" Override this in your recipe to provide a URL to use as a masthead."
msgstr "默认情况下，calibre 将使用默认图像作为标头（仅限 Kindle）。 在您的配方中覆盖此设置以提供用作标头的 URL。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:1
msgid ""
"List of regular expressions that determines which links to follow. If empty,"
" it is ignored. Used only if is_link_wanted is not implemented. For "
"example::"
msgstr "确定要跟踪哪些链接的正则表达式列表。 如果为空，则被忽略。 仅当未实现 is_link_wanted 时使用。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:7
msgid "will match all URLs that have `page=some number` in them."
msgstr "将匹配所有包含“page=some number”的 URL。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.max_articles_per_feed:1
msgid ""
"Maximum number of articles to download from each feed. This is primarily "
"useful for feeds that don't have article dates. For most feeds, you should "
"use :attr:`BasicNewsRecipe.oldest_article`"
msgstr "从每个提要下载的最大文章数。 这主要对于没有文章日期的提要有用。 对于大多数提要，您应该使用“BasicNewsRecipe.oldest_article”"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.needs_subscription:1
msgid ""
"If True the GUI will ask the user for a username and password to use while "
"downloading. If set to \"optional\" the use of a username and password "
"becomes optional"
msgstr "如果为 True，GUI 将要求用户提供下载时使用的用户名和密码。 如果设置为“可选”，则用户名和密码的使用将变为可选"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.no_stylesheets:1
msgid ""
"Convenient flag to disable loading of stylesheets for websites that have "
"overly complex stylesheets unsuitable for conversion to e-book formats. If "
"True stylesheets are not downloaded and processed"
msgstr "方便的标志，用于禁用样式表加载的网站，这些网站的样式表过于复杂，不适合转换为电子书格式。 如果未下载和处理 True 样式表"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.oldest_article:1
msgid "Oldest article to download from this news source. In days."
msgstr "从此新闻源下载最旧的文章。 几天之内。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:1
msgid ""
"List of :term:`regexp` substitution rules to run on the downloaded "
":term:`HTML`. Each element of the list should be a two element tuple. The "
"first element of the tuple should be a compiled regular expression and the "
"second a callable that takes a single match object and returns a string to "
"replace the match. For example::"
msgstr "要在下载的“HTML”上运行的“regexp”替换规则列表。 列表的每个元素应该是一个二元素元组。 元组的第一个元素应该是已编译的正则表达式，第二个元素应该是可调用的，它接受单个匹配对象并返回一个字符串来替换匹配项。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:12
msgid "will remove everything from `<!--Article ends here-->` to `</body>`."
msgstr "将删除从 `<!--Articleendshere-->` 到 `</body>` 的所有内容。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.publication_type:1
msgid ""
"Publication type Set to newspaper, magazine or blog. If set to None, no "
"publication type metadata will be written to the opf file."
msgstr "出版物类型 设置为报纸、杂志或博客。 如果设置为 None，则不会将任何发布类型元数据写入 opf 文件。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.recipe_disabled:1
msgid ""
"Set to a non empty string to disable this recipe. The string will be used as"
" the disabled message"
msgstr "设置为非空字符串以禁用此新闻源。 该字符串将用作禁用消息"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.recipe_specific_options:1
msgid ""
"Specify options specific to this recipe. These will be available for the "
"user to customize in the Advanced tab of the Fetch News dialog or at the "
"ebook-convert command line. The options are specified as a dictionary "
"mapping option name to metadata about the option. For example::"
msgstr "指定此新闻源特定的选项。这些可供用户在“获取新闻”对话框的“高级”选项卡或电子书转换命令行中自定义。这些选项被指定为将选项名称映射到有关该选项的元数据的字典。例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.recipe_specific_options:13
msgid ""
"When the recipe is run, self.recipe_specific_options will be a dict mapping "
"option name to the option value specified by the user. When the option is "
"unspecified by the user, it will have the value specified by 'default'. If "
"no default is specified, the option will not be in the dict at all, when "
"unspecified by the user."
msgstr "运行配方时，self.recipe_specific_ensions将是将选项名称映射到用户指定的选项值的dict。当用户未指定该选项时，它将具有由“默认”指定的值。如果未指定默认值，则当用户未指定时，该选项根本不会出现在dict中。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.recursions:1
msgid "Number of levels of links to follow on article webpages"
msgstr "文章网页上可跟踪的链接级别数"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_attributes:1
msgid "List of attributes to remove from all tags. For example::"
msgstr "要从所有标签中删除的属性列表。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_empty_feeds:1
msgid ""
"If True empty feeds are removed from the output. This option has no effect "
"if parse_index is overridden in the sub class. It is meant only for recipes "
"that return a list of feeds using `feeds` or :meth:`get_feeds`. It is also "
"used if you use the ignore_duplicate_articles option."
msgstr "如果为 True，则从输出中删除空提要。 如果在子类中重写了 parse_index，则此选项无效。 它仅适用于使用“feeds”或“get_feeds”返回提要列表的配方。 如果您使用ignore_duplicate_articles选项，它也会被使用。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_javascript:1
msgid "Convenient flag to strip all JavaScript tags from the downloaded HTML"
msgstr "方便的标记，用于从下载的 HTML 中去除所有 JavaScript 标签"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:1
msgid ""
"List of tags to be removed. Specified tags are removed from downloaded HTML."
" A tag is specified as a dictionary of the form::"
msgstr "要删除的标签列表。 指定的标签将从下载的 HTML 中删除。 标签被指定为以下形式的字典："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:9
msgid ""
"All keys are optional. For a full explanation of the search criteria, see "
"`Beautiful Soup "
"<https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-"
"tree>`__ A common example::"
msgstr "所有键都是可选的。 有关搜索条件的完整说明，请参阅 `Beautiful Soup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-tree>`__ 一个常见示例："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:15
msgid ""
"This will remove all `<div class=\"advert\">` tags and all their children "
"from the downloaded :term:`HTML`."
msgstr "这将从下载的“HTML”中删除所有“<div class=\"advert\">”标签及其所有子标签。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:1
msgid ""
"Remove all tags that occur after the specified tag. For the format for "
"specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::"
msgstr "删除指定标签之后出现的所有标签。 有关指定标签的格式，请参阅“BasicNewsRecipe.remove_tags”。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:7
msgid "will remove all tags after the first element with `id=\"content\"`."
msgstr "将删除第一个带有 `id=\"content\"` 元素之后的所有标签。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:1
msgid ""
"Remove all tags that occur before the specified tag. For the format for "
"specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::"
msgstr "删除指定标签之前出现的所有标签。 有关指定标签的格式，请参阅“BasicNewsRecipe.remove_tags”。 例如："

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:7
msgid "will remove all tags before the first element with `id=\"content\"`."
msgstr "将删除第一个带有 `id=\"content\"` 元素之前的所有标签。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.requires_version:1
msgid "Minimum calibre version needed to use this recipe"
msgstr "使用此新闻源所需的calibre的最低版本"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.resolve_internal_links:1
msgid ""
"If set to True then links in downloaded articles that point to other "
"downloaded articles are changed to point to the downloaded copy of the "
"article rather than its original web URL. If you set this to True, you might"
" also need to implement :meth:`canonicalize_internal_url` to work with the "
"URL scheme of your particular website."
msgstr "如果设置为 True，则下载文章中指向其他下载文章的链接将更改为指向该文章的下载副本，而不是其原始 Web URL。 如果将此设置为 True，您可能还需要实现“canonicalize_internal_url”以使用特定网站的 URL 方案。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.reverse_article_order:1
msgid "Reverse the order of articles in each feed"
msgstr "颠倒每个提要中文章的顺序"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images:1
msgid ""
"Maximum dimensions (w,h) to scale images to. If scale_news_images_to_device "
"is True this is set to the device screen dimensions set by the output "
"profile unless there is no profile set, in which case it is left at whatever"
" value it has been assigned (default None)."
msgstr "图像缩放到的最大尺寸（宽，高）。 如果scale_news_images_to_device为True，则设置为由输出配置文件设置的设备屏幕尺寸，除非没有配置文件集，在这种情况下，它将保留为已分配的任何值（默认为“无”）。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images_to_device:1
msgid ""
"Rescale images to fit in the device screen dimensions set by the output "
"profile. Ignored if no output profile is set."
msgstr "重新缩放图像以适合输出配置文件设置的设备屏幕尺寸。 如果未设置输出配置文件，则忽略。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.simultaneous_downloads:1
msgid ""
"Number of simultaneous downloads. Set to 1 if the server is picky. "
"Automatically reduced to 1 if :attr:`BasicNewsRecipe.delay` > 0"
msgstr "同时下载的数量。 如果服务器挑剔，则设置为 1。 如果 `BasicNewsRecipe.delay` > 0，则自动减少到 1"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.summary_length:1
msgid "Max number of characters in the short description"
msgstr "简短描述中的最大字符数"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.template_css:1
msgid ""
"The CSS that is used to style the templates, i.e., the navigation bars and "
"the Tables of Contents. Rather than overriding this variable, you should use"
" `extra_css` in your recipe to customize look and feel."
msgstr "用于设置模板样式的 CSS，即导航栏和目录。 您应该在新闻源中使用“extra_css”来自定义外观，而不是覆盖此变量。"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.timefmt:1
msgid ""
"The format string for the date shown on the first page. By default: "
"Day_Name, Day_Number Month_Name Year"
msgstr "第一页上显示的日期的格式字符串。 默认情况下：Day_Name、Day_Number Month_Name Year"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.timeout:1
msgid "Timeout for fetching files from server in seconds"
msgstr "从服务器获取文件的超时时间，以秒为单位"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.title:1
msgid "The title to use for the e-book"
msgstr "用于电子书的标题"

#: ../../../__w/calibre/calibre/manual/docstring of
#: calibre.web.feeds.news.BasicNewsRecipe.use_embedded_content:1
msgid ""
"Normally we try to guess if a feed has full articles embedded in it based on"
" the length of the embedded content. If `None`, then the default guessing is"
" used. If `True` then the we always assume the feeds has embedded content "
"and if `False` we always assume the feed does not have embedded content."
msgstr "通常，我们会尝试根据嵌入内容的长度来猜测提要是否嵌入了完整的文章。 如果“无”，则使用默认猜测。 如果为“True”，则我们始终假设提要具有嵌入内容，如果为“False”，我们始终假设提要没有嵌入内容。"
