class CSVFeedSpider(Spider):
Spider for parsing CSV feeds. It receives a CSV file in a response; iterates through each of its rows, and calls parse_row with a dict containing each field's data.
You can set some options regarding the CSV file, such as the delimiter, quotechar and the file's headers.
Method | _parse |
Undocumented |
Method | adapt_response |
This method has the same purpose as the one in XMLFeedSpider |
Method | parse_row |
This method must be overriden with your custom spider functionality |
Method | parse_rows |
No summary |
Method | process_results |
This method has the same purpose as the one in XMLFeedSpider |
Class Variable | delimiter |
Undocumented |
Class Variable | headers |
Undocumented |
Class Variable | quotechar |
Undocumented |
Inherited from Spider
:
Class Method | from_crawler |
Undocumented |
Class Method | handles_request |
Undocumented |
Class Method | update_settings |
Undocumented |
Static Method | close |
Undocumented |
Method | __init__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | _set_crawler |
Undocumented |
Method | log |
Log the given message at the given log level |
Method | make_requests_from_url |
This method is deprecated. |
Method | parse |
Undocumented |
Method | start_requests |
Undocumented |
Class Variable | custom_settings |
Undocumented |
Instance Variable | crawler |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | settings |
Undocumented |
Instance Variable | start_urls |
Undocumented |
Property | logger |
Undocumented |
Inherited from object_ref
(via Spider
):
Method | __new__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |