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
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
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
Paul Tremberth
ed1e4d8df3
Merge pull request #1731 from scrapy/disable-toplevel-2
...
[MRG+1] LOG_SHORT_NAMES option to disable TopLevelFormatter
2016-12-19 16:02:55 +01:00
Elias Dorneles
97e82107b1
Merge pull request #2270 from redapple/httperror-log-info
...
[MRG+1] Raise log level for HttpErrorMiddleware to INFO (from DEBUG)
2016-12-14 12:18:04 -02:00
Paul Tremberth
f7e4081414
Add tests for SequenceExclude container
2016-12-12 22:37:53 +01:00
Mikhail Korobov
05b4555f39
TST tests for LOG_SHORT_NAMES
2016-12-09 02:19:51 +05:00
Mikhail Korobov
e46572d6f2
TST end-to-end test for LOG_LEVEL option
...
there were no end-to-end tests for this option
2016-12-09 02:19:33 +05:00
Mikhail Korobov
6eab59cbac
TST cleanup runspider tests
2016-12-09 02:14:12 +05:00
Paul Tremberth
948e3cd003
Warn user instead of failing for wrong SPIDER_MODULES setting
2016-12-08 12:50:26 +01:00
Paul Tremberth
2cd579a774
Add test for fetch(url) within shell with and without redirect
2016-12-07 19:07:32 +01:00
Paul Tremberth
7e54de2455
Add tests for shell command with and without --no-redirect
2016-12-07 18:41:24 +01:00
Elias Dorneles
cce631abec
Merge pull request #1887 from nyov/twisted11
...
[MRG+2] Bump Twisted dependency to 13.1.0
2016-12-07 15:00:01 -02:00
Paul Tremberth
778bed07bf
Let framework handle only HTTP redirects by default for fetch and shell commands
2016-12-07 17:56:13 +01:00
Mikhail Korobov
ff3aec6613
Merge pull request #2331 from moisesguimaraes/fixes-2272
...
[MRG+1] Fixes issue #2272 using arg_to_iter() to wrap single values and list() to…
2016-12-07 20:08:18 +05:00
Elias Dorneles
a9c69458ff
Merge pull request #2422 from rolando-contrib/nested-spiders-modules
...
[MRG+1] DOC State explicitly that spiders are loaded recursively.
2016-12-07 11:21:15 -02:00
Paul Tremberth
5efd65255c
TST: Randomize IMAGES_EXPIRES above 90 days
2016-12-06 18:49:53 +01:00
nyov
534772f6ea
Import xlib.tx code from twisted proper
2016-12-02 21:21:51 +00:00
Elias Dorneles
c4e67c0696
Merge pull request #2421 from rolando-contrib/tests-bug
...
[MRG+1] TST: Fix duplicated test name.
2016-12-01 18:43:48 -02:00
Elias Dorneles
f3a4420750
Merge pull request #2388 from redapple/robotparser-native-str
...
[MRG+1] Parse robots.txt content as native str
2016-12-01 18:43:23 -02:00
Rolando Espinoza
923b974f0a
TST Include nested a nested spider in spider loader test.
2016-12-01 13:26:19 -03:00
Rolando Espinoza
d9f43e21ba
TST: Fix duplicated test name.
2016-12-01 11:56:33 -03:00
Eugenio Lacuesta
5ff64ad015
handle relative sitemap urls in robots.txt
2016-12-01 09:53:40 -03:00
Paul Tremberth
9aefc0a886
Add test for fetch command with redirections disabled
2016-11-24 13:41:51 +01:00
Paul Tremberth
01142e2ae5
Print more dependencies versions in "scrapy version" verbose output
2016-11-22 14:48:33 +01:00
Paul Tremberth
6cd35c77da
Pass user-agent as native str when checking URLs against robots.txt
2016-11-15 17:38:32 +01:00
Paul Tremberth
de89b1b562
Merge pull request #2275 from scrapy/response-css-xpath-message
...
[MRG+1] Add better messages for when response content isn't text (closes #2264 )
2016-11-10 11:38:22 +01:00
Paul Tremberth
28155dfccc
Parse robots.txt content as native str
...
Fixes #2373
2016-11-09 12:20:06 +01:00
Paul Tremberth
af2280e695
Update docstring
2016-11-08 13:30:51 +01:00
Paul Tremberth
27456996a9
Add assertion on crawler not running
2016-11-08 11:46:16 +01:00
Paul Tremberth
61efacdd1f
Add testcase for catching exception from open_spider() from pipeline
2016-11-08 11:35:42 +01:00
Paul Tremberth
db40852892
Do not interpret non-ASCII bytes in "Location" and percent-encode them ( #2322 )
...
* Do not interpret non-ASCII bytes in "Location" and percent-encode them
Fixes GH-2321
The idea is to not guess the encoding of "Location" header value
and simply percent-encode non-ASCII bytes,
which should then be re-interpreted correctly by the remote website
in whatever encoding was used originally.
See https://tools.ietf.org/html/rfc3987#section-3.2
This is similar to the changes to safe_url_string in
https://github.com/scrapy/w3lib/pull/45
* Remove unused import
2016-10-19 23:26:12 -03:00
Moisés Guimarães
45e95b79ce
( fixes #2272 ) using arg_to_iter() to wrap single values and list() to avoid consuming from generators.
2016-10-18 11:06:55 -03:00
Elias Dorneles
2d932c173c
test abs path outside project as well
2016-09-30 15:07:58 -03:00
Elias Dorneles
25bd3b3fea
add .scrapy when outside spider too, add tests
2016-09-29 18:30:42 -03:00
Elias Dorneles
9c9690c76c
add better messages for when response content isn't text ( closes #2264 )
2016-09-21 10:30:35 -03:00
Paul Tremberth
81a0e3cd93
Raise log level for HttpErrorMiddleware to INFO (from DEBUG)
...
Fixes GH-910
2016-09-20 13:44:21 +02:00