Scrapy 0.9 DocumentationHere are some example tasks you can do with the telnet console: View engine status You can use the st() method of the Scrapy engine to quickly show its state using the telnet console: telnet localhost engine) if self._spider_name is None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return EngineStatusResource(name0 码力 | 156 页 | 764.56 KB | 1 年前3
Scrapy 0.9 DocumentationHere are some example tasks you can do with the telnet console: View engine status You can use the st() method of the Scrapy engine to quickly show its state using the telnet console: telnet localhost is None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return0 码力 | 204 页 | 447.68 KB | 1 年前3
Scrapy 0.14 Documentationis None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return0 码力 | 235 页 | 490.23 KB | 1 年前3
Scrapy 0.12 Documentationengine) if self._spider_name is None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return EngineStatusResource(name0 码力 | 177 页 | 806.90 KB | 1 年前3
Scrapy 0.12 Documentationis None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return0 码力 | 228 页 | 462.54 KB | 1 年前3
Scrapy 0.14 Documentationengine) if self._spider_name is None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return EngineStatusResource(name0 码力 | 179 页 | 861.70 KB | 1 年前3
Scrapy 0.16 Documentation0.16.5 if self._spider_name is None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return EngineStatusResource(name0 码力 | 203 页 | 931.99 KB | 1 年前3
Scrapy 0.18 Documentation0.18.4 if self._spider_name is None: return status for sp, st in status['spiders'].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return EngineStatusResource(name0 码力 | 201 页 | 929.55 KB | 1 年前3
Scrapy 0.22 Documentation0.22.0 if self._spider_name is None: return status for sp, st in status[’spiders’].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return EngineStatusResource(name0 码力 | 199 页 | 926.97 KB | 1 年前3
Scrapy 0.20 Documentation0.20.2 if self._spider_name is None: return status for sp, st in status[’spiders’].items(): if sp.name == self._spider_name: return st def getChild(self, name, txrequest): return EngineStatusResource(name0 码力 | 197 页 | 917.28 KB | 1 年前3
共 17 条
- 1
- 2













