mirror of https://github.com/scrapy/scrapy.git
added: Doc for `scrapy.http.TextResponse.urljoin`
This commit is contained in:
parent
0ef570f6f0
commit
114437c169
|
|
@ -666,6 +666,14 @@ TextResponse objects
|
|||
The same as :attr:`text`, but available as a method. This method is
|
||||
kept for backwards compatibility; please prefer ``response.text``.
|
||||
|
||||
.. method:: TextResponse.urljoin(url)
|
||||
|
||||
Constructs an absolute url by combining the Response's base url with
|
||||
a possible relative url. The base url shall be extracted from the
|
||||
``<base>`` tag, or just the Response's :attr:`url` if there is no such
|
||||
tag.
|
||||
|
||||
|
||||
|
||||
HtmlResponse objects
|
||||
--------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue