提交 7d723947 编写于 作者: P Paul Tremberth

Reword mention of new response.follow() shortcut

上级 c6464cc4
......@@ -24,8 +24,8 @@ anymore.** This was puzzling users every now and then, and it's not what
browsers do in fact, so we removed that extra transformation on extractred
links.
There's a new ``response.follow()`` shortcut for creating URLs directly
from the response instance in callbacks.
There's a new ``response.follow()`` shortcut for creating requests directly
from a response instance and a relative URL.
For example, instead of::
scrapy.Request(response.urljoin(somehrefvalue))
......@@ -34,7 +34,6 @@ you can now use the simpler::
response.follow(somehrefvalue)
For those of you wanting more control on the ``Referer:`` header that Scrapy
sends when following links, you can set your own ``Referrer Policy``.
Prior to Scrapy 1.4, the default ``RefererMiddleware`` would simply and
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册