Scrapy 2.10 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg settings attributes in the new instance so they can be accessed later inside the spider’s code. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments a Request object, an item object, an iterable of Request objects and/or item objects, or None. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 419 页 | 1.73 MB | 1 年前3
Scrapy 2.9 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg settings attributes in the new instance so they can be accessed later inside the spider’s code. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments a Request object, an item object, an iterable of Request objects and/or item objects, or None. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 409 页 | 1.70 MB | 1 年前3
Scrapy 2.6 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg settings attributes in the new instance so they can be accessed later inside the spider’s code. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments as well as any other Request callback, must return an iterable of Request and/or item objects. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 384 页 | 1.63 MB | 1 年前3
Scrapy 2.7 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg settings attributes in the new instance so they can be accessed later inside the spider’s code. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments a Request object, an item object, an iterable of Request objects and/or item objects, or None. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 401 页 | 1.67 MB | 1 年前3
Scrapy 2.8 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg settings attributes in the new instance so they can be accessed later inside the spider’s code. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments a Request object, an item object, an iterable of Request objects and/or item objects, or None. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 405 页 | 1.69 MB | 1 年前3
Scrapy 2.11.1 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg are available in the start_requests() method, handlers of the engine_started signal and later. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments a Request object, an item object, an iterable of Request objects and/or item objects, or None. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 425 页 | 1.76 MB | 1 年前3
Scrapy 2.11 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg are available in the start_requests() method, handlers of the engine_started signal and later. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments a Request object, an item object, an iterable of Request objects and/or item objects, or None. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 425 页 | 1.76 MB | 1 年前3
Scrapy 2.11.1 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg are available in the start_requests() method, handlers of the engine_started signal and later. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments a Request object, an item object, an iterable of Request objects and/or item objects, or None. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 425 页 | 1.79 MB | 1 年前3
Scrapy 2.4 DocumentationSee Deploying your project.) 3.1.1 Configuration settings Scrapy will look for configuration parameters in ini-style scrapy.cfg files in standard locations: 1. /etc/scrapy.cfg or c:\scrapy\scrapy.cfg settings attributes in the new instance so they can be accessed later inside the spider’s code. Parameters • crawler (Crawler instance) – crawler to which the spider will be bound • args (list) – arguments as well as any other Request callback, must return an iterable of Request and/or item objects. Parameters response (Response) – the response to parse log(message[, level, component]) Wrapper that sends0 码力 | 354 页 | 1.39 MB | 1 年前3
Scrapy 0.14 DocumentationThis method, as well as any other Request callback, must return an iterable of Item objects. Parameters: response – the response to parse log(message[, level, component]) Log a message using the scrapy links must match to be extracted. All those filters are configured through these constructor parameters: Parameters: allow (a regular expression (or list of)) – a single regular expression (or list of regular class for the SgmlLinkExtractor. You should use that one instead. The constructor arguments are: Parameters: tag (str or callable) – either a string (with the name of a tag) or a function that receives a0 码力 | 235 页 | 490.23 KB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













