Eugenio Lacuesta
9c256cf693
Undocument _InvalidOutput exception
2017-03-10 15:41:57 -03:00
Eugenio Lacuesta
4090cc3990
Spider middleware: use Mockserver to test process_spider_exception
2017-03-08 18:11:20 -03:00
Eugenio Lacuesta
706ed0e049
Spider middleware: process_spider_exception on generators
2017-03-01 12:01:53 -03:00
Mikhail Korobov
26c1256f95
HttpErrorMiddleware stats
2017-02-22 17:36:25 +05:00
Mikhail Korobov
93e449f1f6
Merge pull request #2343 from redapple/anonymous-ftp
...
[MRG+1] Support Anonymous FTP
2017-02-20 23:19:54 +06: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
b0388e49b4
Merge pull request #1728 from scrapy/deprecate-make-requests-from-url
...
deprecate Spider.make_requests_from_url.
2017-02-20 11:23:49 -03:00
Daniel Graña
c68140e68a
Merge pull request #2540 from scrapy/response-follow
...
response.follow
2017-02-20 11:21:21 -03:00
Daniel Graña
b15b4541d1
Merge pull request #2569 from scrapy/fix-project-util-test-osx
...
TST fixed ProjectUtilsTest on OS X
2017-02-20 11:15:21 -03:00
Daniel Graña
322fd68e4c
Merge pull request #2548 from scrapy/formrequest-whitespaces
...
[MRG+1] FormRequest: handle whitespaces in action attribute properly
2017-02-20 11:09:50 -03:00
Daniel Graña
4a93be4ad8
Merge pull request #2547 from scrapy/linkextractor-strip-whitespaces
...
[MRG+1] LinkExtractors: strip whitespaces
2017-02-20 11:08:32 -03:00
Daniel Graña
58a18e3007
Merge pull request #2535 from pawelmhm/brotli
...
[MRG+1] [httpcompression] add support for br - brotli content encoding
2017-02-20 11:04:55 -03:00
Paul Tremberth
f2e200120b
Explicitly remove test directories in FTP tests
2017-02-20 14:50:05 +01:00
Paul Tremberth
26b7c039a9
Remove debug print statement
2017-02-20 14:19:36 +01:00
Paul Tremberth
3ffa2c5759
Support Anonymous FTP
...
Fixes GH-2342
2017-02-20 14:19:36 +01:00
Mikhail Korobov
a1e8a8525d
fix make_requests_from_url deprcation implementation, add tests
2017-02-17 00:18:29 +05:00
Mikhail Korobov
78cb46a079
TST fix a weird OS X testing issue
...
pytest intercepts temp file creation to provide readable file/folder
names; path is built from method name; in case of conflicts
pytests uses increasing numbers, but it seems it doesn’t account
for case-insensitive (but case preserving) OS X filesystem. There
are methods named test_encoding, pytest thinks test_Encoding is
different and fails to create a test folder
2017-02-16 18:22:04 +05:00
Mikhail Korobov
b9928558b2
TST remove temporary files and folders
2017-02-16 17:50:38 +05:00
Mikhail Korobov
f0c4e5dfd5
TST fixed ProjectUtilsTest on OS X
...
Temp folder can be a symlink on OS X.
2017-02-16 16:32:23 +05:00
Mikhail Korobov
692975acb4
deprecate Spider.make_requests_from_url. Fixes #1495 .
2017-02-16 03:39:34 +05:00
Mikhail Korobov
d079e15fe2
Strip leading/trailing whitespaces in link extractors. Fixes GH-838.
2017-02-16 02:22:17 +05:00
Mikhail Korobov
074caf434e
FormRequest: handle whitespaces in action attribute properly
2017-02-16 02:13:39 +05:00
Mikhail Korobov
fade5763af
TST more response.follow tests
2017-02-16 02:02:50 +05:00
Mikhail Korobov
160da6abab
fixed tests in Python 2
2017-02-15 04:41:53 +05:00
Mikhail Korobov
2674f317df
Response.follow
2017-02-15 04:39:47 +05:00
Mikhail Korobov
608c3f0c45
handle whitespace in response.follow; add tests
2017-02-15 04:17:41 +05:00
Mikhail Korobov
afac3fd2c2
Merge pull request #2530 from elacuesta/proxy_credentials
...
[MRG+1] Use credentials from request.meta['proxy']
2017-02-14 20:58:39 +06:00
Eugenio Lacuesta
ae0ea31abd
Add HTTPPROXY_ENABLED setting (default True)
2017-02-14 11:33:01 -03:00
Paul Tremberth
f32a229e3d
Merge pull request #2510 from elacuesta/reqser_request_class
...
[MRG+1] Preserve request class when converting to/from dicts (utils.reqser)
2017-02-08 18:30:07 +01:00
Eugenio Lacuesta
9c0aae724e
Use credentials from request.meta['proxy'] if present
2017-02-08 13:22:30 -03:00
Paul Tremberth
a8893190a1
Merge pull request #2464 from elacuesta/component_order_integer
...
[MRG+2] Validate numeric values (components order)
2017-02-08 13:01:02 +01:00
Paul Tremberth
3becb861af
Merge pull request #2544 from scrapy/twisted-version-cleanup
...
[MRG+1] Remove code required to support ancient twisted versions.
2017-02-08 12:59:45 +01:00
Rolando Espinoza
4e765acaed
BUG: Fix __classcell__ propagation.
...
Python 3.6 added simpler customization of class creation but this
requires to propagate correctly the __classcell__ attribute in custom
__new__ methods.
See https://docs.python.org/3.6/whatsnew/3.6.html#pep-487-simpler-
customization-of-class-creation
2017-02-08 02:12:52 -04:00
Mikhail Korobov
04b2f79e7a
Remove code required to support ancient twisted versions. See GH-1887.
2017-02-07 22:30:58 +05:00
Eugenio Lacuesta
24e82bfe75
Validate values for components order
2017-02-07 09:13:57 -03:00
Pawel Miech
fb4ef21a1d
[httpcompression] minor style edits
2017-02-07 10:22:42 +01:00
Pawel Miech
af802bad14
[httpcompression] add brotlipy for python 3
2017-02-06 15:45:21 +01:00
Pawel Miech
3daf473686
[httpcompression] skip test if no brotli
2017-02-06 13:49:41 +01:00
Pawel Miech
f8f8bbe080
[httpcompression] import brotli when available
2017-02-06 12:19:00 +01:00
Pawel Miech
16c4b4e184
[httpcompression] add support for br - brotli content encoding
2017-02-06 11:41:08 +01:00
Mikhail Korobov
814ce37dff
Merge pull request #2528 from redapple/dns-retry-test
...
Make DNS retry test compatible with Twisted 17+
2017-02-03 02:43:46 +05:00
Paul Tremberth
02e1d2b1fd
Add trailing dot
2017-02-02 22:28:37 +01:00
Paul Tremberth
e604c0f3ab
Remove unused imports
2017-02-02 18:26:41 +01:00
Paul Tremberth
3358254c5c
Make DNS retry test compatible with Twisted 17+
2017-02-02 17:53:28 +01:00
Paul Tremberth
803d8c4b57
Add tests for passing kwargs on response .xpath() shortcut
2017-02-02 17:44:57 +01:00
Paul Tremberth
ae6d8d728e
Support 'True' and 'False' strings as boolean settings values
2017-01-30 16:33:08 +01:00
Eugenio Lacuesta
53757e51e5
Preserve request class when converting to/from dicts (utils.reqser)
2017-01-24 17:13:21 -03:00
Paul Tremberth
07f9985a94
TST: Randomize FILES_EXPIRES above 90 days
2016-12-21 17:03:11 +01:00
Elias Dorneles
d09ec3db68
Merge pull request #2410 from redapple/fetch-transparent-redirect
...
[MRG+1] Transparently handle redirections in fetch and shell
2016-12-21 09:49:15 -02:00
Mikhail Korobov
d19c4c1f80
Merge pull request #2433 from redapple/wrong-spidermodules-warning
...
[MRG+1] Warn user instead of failing for wrong SPIDER_MODULES setting
2016-12-19 21:46:56 +05:00