Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Initializer -> __init__

Eugenio Lacuesta6df6b6dd6a5a
diff --git a/scrapy/http/response/text.py b/scrapy/http/response/text.py
index f782f6217..74017b5aa 100644
--- a/scrapy/http/response/text.py
+++ b/scrapy/http/response/text.py
@@ -167,9 +167,9 @@ class TextResponse(Response):
# type: (...) -> Generator[Request, None, None]
"""
A generator that produces :class:`~.Request` instances to follow all
- links in ``urls``. It accepts the same arguments as the :class:`~.Request`
- initializer, except that each ``urls`` element does not need to be an absolute
- URL, it can be any of the following:
+ links in ``urls``. It accepts the same arguments as the :class:`~.Request`'s
+ ``__init__`` method, except that each ``urls`` element does not need to be
+ an absolute URL, it can be any of the following:
* a relative URL
* a :class:`~scrapy.link.Link` object, e.g. the result of