Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
royxue opened this issue Mar 26, 2014 · 3 comments
Open

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

royxue opened this issue Mar 26, 2014 · 3 comments

Comments

@royxue
Copy link
Contributor

royxue commented Mar 26, 2014

No description provided.

@marchtea
Copy link
Owner

@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
Copy link
Contributor Author

royxue commented Mar 29, 2014

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

@marchtea
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants