Eugenio Lacuesta
48223c107a
Merge remote-tracking branch 'upstream/master' into response_follow_all
2019-11-20 09:41:42 -03:00
Adrián Chaves
e84cb18ca0
Use InterSphinx to link to the Twisted documentation
2019-11-18 15:50:45 +01:00
Andrey Rahmatullin
c911e80209
Merge pull request #4088 from ammarnajjar/4086-constructor-initializer-docs
...
docs: use __init__ method instead of constructor
2019-11-12 21:48:16 +05:00
Andrey Rahmatullin
229e722a03
Initial Python 2 removal ( #4091 )
2019-10-31 10:46:02 +01:00
Ammar Najjar
d21e1034f0
docs: correct point,comma and plural replacements
...
Issue #4086
2019-10-22 13:29:38 +02:00
Ammar Najjar
da8cd9448d
docs: always surround __init__ with `` in docs
...
Issue #4086
2019-10-21 19:56:58 +02:00
Adrián Chaves
ad6075440c
Fix references to Python types in parameter type fields
2019-10-21 19:00:03 +02:00
Ammar Najjar
68a7d05ed8
docs: use __init__ method instead of constructor
...
Issue #4086
2019-10-21 15:42:24 +02:00
Eugenio Lacuesta
5f168cd459
Response.follow_all
2019-10-08 16:32:56 -03:00
elacuesta
6ad5a89cb0
[Doc] Use autoclass in topics/request-response.rst ( #4055 )
2019-10-02 12:18:36 +02:00
Adrián Chaves
c26a9015ad
Clarify the effects of dont_merge_cookies
2019-09-19 11:08:06 +02:00
Marc Hernández
ace2df3d14
Fix JSONRequest naming ( #3982 )
2019-08-30 11:03:44 +02:00
Marc Hernández
d76b6944c9
Create Request from curl command ( #3862 )
2019-08-08 09:43:42 +02:00
Eugenio Lacuesta
ccb56a317e
Update docs about cb_kwargs and meta
2019-03-29 14:13:50 -03:00
Eugenio Lacuesta
8fb077694f
Request.cb_kwargs: Update docs
2019-03-28 16:32:35 -03:00
Eugenio Lacuesta
3efe3bea1c
Update docs about cb_kwargs and meta
2019-03-28 14:16:03 -03:00
Eugenio Lacuesta
c43a23152b
Merge remote-tracking branch 'upstream/master' into callback_kwargs
2019-03-27 14:42:41 -03:00
Eugenio Lacuesta
8528f5065f
[Doc] Update cb_kwargs example
2019-03-27 14:42:26 -03:00
Maram Sumanth
2fd8b7c28c
[MRG+1] redirect_reasons in Request.meta ( #3687 )
2019-03-27 00:15:53 +05:00
Konstantin Lopuhin
af2b666595
Merge pull request #3505 from kasun/json_request
...
[MRG+2] Request subclass for json requests #3504
2019-03-22 18:25:54 +03:00
Eugenio Lacuesta
6760bca74b
Rename Request.kwargs to Request.cb_kwargs
2019-03-15 22:42:29 +00:00
Mikhail Korobov
5dc94db847
Merge branch 'master' into backward
2019-03-14 22:21:09 +05:00
Adrián Chaves
75d6f56c8a
Switch from ` to `` where inline code formatting is desired
2019-03-01 16:56:58 +01:00
Adrián Chaves
858f5be747
backwards → backward (adj.)
2019-03-01 16:10:23 +01:00
Adrián Chaves
38af090f4d
Indicate that users must implement their own authentication result check
...
The example of form-based login could lead some users to think its authentication result
check was final. See https://stackoverflow.com/a/54410966/939364
This change should make it more obvious that users are expected to implement their
own logic to check whether authentication worked or not.
2019-02-04 11:17:58 +01:00
Eugenio Lacuesta
bddfeaba4c
Add Request.kwargs docs
2019-01-15 19:14:59 -03:00
kasun Herath
24acc50d18
dumps_kwargs parameter in docs
2018-12-18 23:16:14 +05:30
kasun Herath
12ad06b7ac
docs change
2018-12-17 23:17:13 +05:30
kasun Herath
8f1507a4a5
dumps_kwargs
2018-12-17 23:14:06 +05:30
kasun Herath
ecda69130e
allow to send empty data values and docs changes
2018-12-10 22:34:49 +05:30
kasun Herath
3c981bf204
add documentation
2018-12-09 12:56:12 +05:30
Steven Almeroth
c6d20bdd82
Doc: update wording for COOKIES_ENABLED
2018-03-27 16:21:07 -04:00
Aditya
9dd680d5c9
Use https for external links wherever possible in docs
2017-10-26 23:33:45 +05:30
Steven Almeroth
3637b75a67
[Doc] Update Response.body type
2017-09-12 17:41:47 -04:00
Paul Tremberth
8729a91f7a
Rephrase "New features" section
2017-05-18 22:37:14 +02:00
Mikhail Korobov
532400f993
Merge pull request #2643 from harshasrinivas/set-retry-times-per-request
...
[MRG+1] Add feature to set RETRY_TIMES per request (#2642 )
2017-05-17 15:46:33 +05:00
Harrison Gregg
45a323024c
Add documentation for dropping fields in from_response request body
2017-05-15 12:25:32 -04:00
harshasrinivas
10741aca72
Update docs - improve clarity
2017-03-19 06:17:28 +05:30
harshasrinivas
9d97d788c0
Update docs for meta key
2017-03-15 04:13:47 +05:30
Paul Tremberth
03ff19d188
Update docs for new "referrer_policy" Request.meta key
2017-03-01 17:51:23 +01:00
Mikhail Korobov
7b49b9c0f5
Merge pull request #2590 from rolando-contrib/handle-data-loss-gracefully
...
[MRG+2] Handle data loss gracefully.
2017-03-01 20:23:19 +05:00
Rolando Espinoza
f01ae6ffcd
Handle data loss gracefully.
...
Websites that return a wrong ``Content-Length`` header may cause a data
loss error. Also when a chunked response is not finished properly.
This change adds a new setting ``DOWNLOAD_FAIL_ON_DATALOSS`` (default:
``True``) and request.meta key ``download_fail_on_dataloss``.
2017-03-01 11:43:53 -03:00
MikeinRealLife
441f25507e
fixed typo
...
removed duplicate line
2017-02-22 21:23:27 -08:00
MikeinRealLife
96a570a93a
fixed ticket #2574
2017-02-22 21:17:34 -08:00
Omer Schleifer
ff3e299eb0
[MRG+2] add flags to request ( #2082 )
...
* add flags to request
* fxi test - add flags to request
* fix test(2) - add flags to request
* fix test(2) - add flags to request
* Updated test to reqser with flags field of request
* Updated documntation with flags field of request
* fix test identation
* fix test failed
* make the change backward comptaible
* remove unrequired spaces, fix documentation request flags
* remove unrequired space
* fx assert equal
* flags default is empty list
* Add flags to request
* add flags to request
* fxi test - add flags to request
* fix test(2) - add flags to request
* fix test(2) - add flags to request
* Updated test to reqser with flags field of request
* Updated documntation with flags field of request
* fix test identation
* fix test failed
* make the change backward comptaible
* remove unrequired spaces, fix documentation request flags
* remove unrequired space
* fx assert equal
* flags default is empty list
* add flags to request squashed commits
2017-02-20 20:42:29 +06:00
Daniel Graña
c68140e68a
Merge pull request #2540 from scrapy/response-follow
...
response.follow
2017-02-20 11:21:21 -03:00
Ashish Kulkarni
165e2cb8c9
document issue with FormRequest.from_response due to bug in lxml
...
This can make the spider fail due to incorrect values being posted
server-side, which is extremely hard to debug because it is easy
to miss leading/trailing whitespace, even with a logging proxy.
The fix was merged for lxml 3.8 in lxml/lxml#228 so document that
as well.
2017-02-17 14:54:22 +05:30
Mikhail Korobov
5b79c6a679
DOC document response.follow methods; expand the tutorial
2017-02-16 00:06:52 +05:00
Mikhail Korobov
877057fac0
initial response.follow implementation
2017-02-15 01:22:53 +05:00
Paul Tremberth
7d0b89042f
Merge pull request #2533 from djrobust/patch-1
...
[MRG+1] Use yield with nested parsing of responses
2017-02-08 13:02:50 +01:00
djrobust
3021084f37
Use 'yield' when parsing multiple responses
...
Use 'yield' consistently across examples of parse functions.
2017-02-04 20:07:05 -08:00
Raul Gallegos
df1a42419f
adding formid to FormRequest documentation
2017-01-14 20:45:20 -05:00
Mikhail Korobov
570e12b5db
Merge pull request #2328 from scrapy/download-latency-meta-docs
...
[MRG+1] Document `download_latency` meta key
2016-11-14 21:24:14 +05:00
Valdir Stumm Junior
7025d6656a
document download_latency meta key
2016-11-14 13:06:18 -02:00
bopace
fd016ee71b
Fixed wording of documentation
2016-10-18 09:37:45 -06:00
Bo Pace
bfe28ae707
Added documentation about accessing header values
2016-10-17 14:10:05 -06:00
Pengyu CHEN
114437c169
added: Doc for `scrapy.http.TextResponse.urljoin`
2016-09-10 10:38:36 +12:00
Thom Dixon
f68dc3026d
Fix indentation
2016-08-24 09:11:27 -07:00
Thom Dixon
633abfbea1
Correct documentation about Response parameters
...
This fixes issue #2196
2016-08-24 08:47:52 -07:00
Paul Tremberth
b3367c7acd
DOC Add info and example on errbacks
2016-05-18 18:00:09 +02:00
Aron Bordin
2cfe9e424d
small doc style fixes
2016-03-05 19:54:06 -03:00
nyov
5876b9aa30
Update documentation links
2016-03-03 16:28:33 +00:00
Mikhail Korobov
7ca9ae1976
DOC typo fix
2016-01-27 17:54:28 +05:00
Mikhail Korobov
4bcbb77bcc
response.text. Fixes GH-1729.
2016-01-27 01:28:11 +05:00
Elias Dorneles
d4c4ca8062
fix version number to appear new feature
2016-01-21 09:42:15 -02:00
Capi Etheriel
659715ecd9
implements FormRequest.from_response CSS support
2016-01-21 01:05:20 -02:00
Marius Gedminas
0620e76433
Fix list formatting
2015-09-29 03:33:30 +05:00
Julia Medina
d3f576a816
Move scrapy/spider.py to scrapy/spiders/__init__.py
2015-05-09 04:20:09 -03:00
Julia Medina
bd0b639b21
Fix logging usage across docs
2015-04-22 17:24:41 -03:00
Julia Medina
cda3922507
Add Response.urljoin() helper
2015-03-19 19:07:52 -03:00
Shadab Zafar
5a58d64131
Fix some redirection links in documentation
...
Fixes #606
2015-03-18 19:41:26 -03:00
nramirezuy
c13e23641b
httpcache dont_cache meta #19 #689
2015-03-16 11:50:04 -03:00
Elias Dorneles
f7031c08ff
updating list of Request.meta special keys
2015-03-10 22:29:07 -03:00
Mikhail Korobov
7d68b084a4
DOC document download_timeout Request.meta key and download_timeout spider attribute.
2014-10-07 04:23:11 +06:00
Mikhail Korobov
36eec8f413
dont_obey_robotstxt meta key; don't process requests to /robots.txt
2014-09-23 00:10:43 +06:00
John-Scott Atlakson
a312ebfb43
Update request-response.rst
...
Fixed minor typo
2014-09-14 22:06:31 +06:00
Mikhail Korobov
774ab74ad2
Merge pull request #864 from younghz/master
...
Duplicate comma in request-response.rst
2014-08-28 18:52:51 +06:00
Uyounghz
d49766a6ac
Duplicate comma in request-response.rst
2014-08-28 19:58:58 +08:00
Rocio Aramberri
51b0bd281d
fix dont settings on meta behaviour, add docs and tests
2014-08-15 13:47:42 -07:00
Rendaw
8bdb6e2e3e
Elaborated request priority value.
2014-05-07 19:14:45 +09:00
Pablo Hoffman
eb07e09166
Merge pull request #663 from pawl/patch-1
...
fixed typo
2014-04-24 17:59:36 -04:00
Daniel Graña
b4593c2ae7
document shortcuts in TextResponse class
2014-04-24 00:15:00 -03:00
Mikhail Korobov
2d3803672b
DOC use top-level shortcuts in docs
2014-04-15 01:09:35 +06:00
Paul Brown
a1ee354609
fixed typo
2014-03-20 15:16:48 -05:00
Julia Medina
ca1c1a82b5
FormRequest doc improvements
...
Clickdata doc enhancements:
* Fix xml attributes mention
* nr is 0-indexed reference
2014-03-12 12:34:50 -03:00
Julia Medina
e29ab4d112
New doc: clickdata in Formrequest.from_response
...
Documentation about:
* clickdata parameter in Formrequest.from_response
* nr attribute in clickdata dict
* default behaviour when clickdata is None
2014-03-12 06:43:50 -03:00
Capi Etheriel
72b6c96d9a
Running lucasdemarchi/codespell to fix typos in docs
2014-03-06 12:40:55 -03:00
Mikhail Korobov
a27d91f0a6
Rename BaseSpider to Spider. See GH-495.
2013-12-30 19:46:41 +06:00
Pablo Hoffman
e42e3743fe
quick documentation for #475
2013-12-24 12:19:15 -02:00
Mikhail Korobov
086b8a20d4
typo fix in TextResponse docs
2013-10-17 04:50:30 +06:00
Dragon Dave
a3b711bdea
Move callback blob; mention errback
2013-10-15 12:19:42 +01:00
scraperdragon
0ba0d85685
Parameters to Request() in wrong order
...
Implied that callback wasn't the first optional unnamed parameter.
2013-10-15 11:50:43 +01:00
Pablo Hoffman
37c24e01d7
document bindaddress request meta
2013-10-02 17:13:17 -03:00
Pablo Hoffman
a9c3519897
updated required twisted version to 10.0
2013-10-01 14:07:38 -03:00
cacovsky
71b320914a
Update request-response.rst
...
Fix small doc typo (too many backticks)
2013-09-18 11:45:25 -03:00
Mikhail Korobov
1a1c93fafe
tiny FormRequest doc fix
2013-07-15 15:47:34 +06:00
Steven Almeroth
70179c7c0c
doc: remove trailing spaces
2013-03-21 13:57:39 -06:00
Steven Almeroth
0d7747d353
doc: Response.replace() cannot take meta argument
...
>>> response.replace(meta={'foo':1})
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/srv/scrapy/scrapy-fork/scrapy/scrapy/http/response/text.py", line 45, in replace
return Response.replace(self, *args, **kwargs)
File "/srv/scrapy/scrapy-fork/scrapy/scrapy/http/response/__init__.py", line 77, in replace
return cls(*args, **kwargs)
File "/srv/scrapy/scrapy-fork/scrapy/scrapy/http/response/text.py", line 22, in __init__
super(TextResponse, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'meta'
2013-03-21 13:49:55 -06:00
Chris Tilden
aae6aed4fb
fixes spelling errors in documentation
2013-01-22 14:52:18 -08:00
Daniel Graña
897195186a
document new FormRequest parameter named `formxpath` that matches forms using xpath
2013-01-08 18:36:20 -02:00