marchtea / scrapy_doc_chs

scrapy中文翻译文档
1.11k stars 410 forks source link

Item Pipeline.rst Item Loader.rst Link Extractor.rst 开始翻译 #8

Open royxue opened 10 years ago

marchtea commented 10 years ago

@RoyXue link extractor.rst最近有更新了。 更新的内容 diff后结果如下:

summertekiMacBook-Pro:topics summer$ git diff
diff --git a/topics/link-extractors.rst b/topics/link-extractors.rst
index 63899b2..79af6db 100644
--- a/topics/link-extractors.rst
+++ b/topics/link-extractors.rst
@@ -69,8 +69,9 @@ SgmlLinkExtractor
         domains which won't be considered for extracting the links
     :type deny_domains: str or list

-    :param deny_extensions: a list of extensions that should be ignored when
-        extracting links. If not given, it will default to the
+    :param deny_extensions: a single value or list of strings containing
+        extensions that should be ignored when extracting links. 
+        If not given, it will default to the
         ``IGNORED_EXTENSIONS`` list defined in the `scrapy.linkextractor`_
         module.
     :type deny_extensions: list
@@ -85,7 +86,7 @@ SgmlLinkExtractor
         Defaults to ``('a', 'area')``.
     :type tags: str or list

-    :param attrs: list of attributes which should be considered when looking
+    :param attrs: an attribute or list of attributes which should be considered when looking
         for links to extract (only for those tags specified in the ``tags``
         parameter). Defaults to ``('href',)``
     :type attrs: list

repo上面的数据是最新的,麻烦在提交前确认下修改。

royxue commented 10 years ago

好的,今天刚刚考完英语,争取明天弄好.

marchtea commented 10 years ago

@RoyXue 辛苦~~这两天我也各种忙作业的说