Konstantin Lopuhin
ef04cfd237
Respect log settings in custom_settings: fixes GH-1612
...
A new root logger is installed when a crawler is created
if one was already installed before.
This allows to respect custom settings related to logging,
such as LOG_LEVEL, LOG_FILE, etc.
2017-03-03 18:01:11 +03:00
Mikhail Korobov
d047665c02
make "settings" argument optional for Crawler, CrawlerRunner and CrawlerProcess
2015-06-06 03:23:13 +05:00
Mikhail Korobov
cc2f3e1b46
TST a test case to show custom_settings doesn't always work
2015-06-03 04:26:20 +05:00
Mikhail Korobov
aa6a72707d
fixed CrawlerProcess when settings are passed as dicts
...
See https://github.com/scrapy/scrapy/pull/1156
2015-05-30 06:59:15 +05:00
Julia Medina
cc4c31e426
Relax SpiderLoader interface check
2015-04-23 15:08:04 -03:00
Mikhail Korobov
c3d3a94914
fixed backwards compatibility for SPIDER_MANAGER_CLASS option
2015-04-22 00:29:40 +05:00
Mikhail Korobov
ad587ea792
rename CrawlerRunner.spiders to CrawlerRunner.spider_loader
2015-04-17 01:54:26 +05:00
Mikhail Korobov
403e7c7c70
rename scrapy.spidermanager.SpiderManager to scrapy.spiderloader.SpiderLoader
2015-04-16 20:07:53 +05:00
Mikhail Korobov
7644813286
allow Crawler, CrawlerRunner and CrawlerProcess to accept dicts instead of Setting objects
2015-04-14 23:26:05 +05:00
Julia Medina
24a07fd892
Verify SPIDER_MANAGER_CLASS interface in CrawlerRunner
2015-04-10 13:43:33 -03:00
Julia Medina
6f9265b44b
Move spider settings population to Crawler.__init__
2015-04-01 23:29:10 -03:00
Daniel Graña
ec93c0fdcc
Add the tests changes for previous commit
2014-09-10 12:05:18 -03:00
Daniel Graña
99971dc8a8
Do not pop the crawler from the managed list
2014-09-09 20:59:07 +00:00
Julia Medina
c2592b39fd
Test verifying that CrawlerRunner populates spider class settings
2014-09-01 21:56:57 -03:00
Julia Medina
419026615f
Deprecate Crawler.spiders attribute
2014-08-14 09:19:41 -03:00