@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
@RoyXue link extractor.rst最近有更新了。 更新的内容
diff
后结果如下:repo上面的数据是最新的,麻烦在提交前确认下修改。