class FilesPipeline(MediaPipeline):
Known subclasses: scrapy.pipelines.images.ImagesPipeline
Abstract pipeline that implement the file downloading
This pipeline tries to minimize network transfers and file processing, doing stat of the files and determining if file is new, uptodate or expired.
Class Method | from_settings |
Undocumented |
Method | file_path |
Returns the path where downloaded media should be stored |
Method | get_media_requests |
Returns the media requests to download |
Method | item_completed |
Called per item when all media requests has been processed |
Constant | DEFAULT_FILES_RESULT_FIELD |
Undocumented |
Constant | DEFAULT_FILES_URLS_FIELD |
Undocumented |
Constant | EXPIRES |
Undocumented |
Constant | MEDIA_NAME |
Undocumented |
Constant | STORE_SCHEMES |
Undocumented |
Method | __init__ |
Undocumented |
Method | _get_store |
Undocumented |
Method | file_downloaded |
Undocumented |
Method | inc_stats |
Undocumented |
Method | media_downloaded |
Handler for success downloads |
Method | media_failed |
Handler for failed downloads |
Method | media_to_download |
Check request before starting download |
Instance Variable | expires |
Undocumented |
Instance Variable | FILES_RESULT_FIELD |
Undocumented |
Instance Variable | files_result_field |
Undocumented |
Instance Variable | FILES_URLS_FIELD |
Undocumented |
Instance Variable | files_urls_field |
Undocumented |
Instance Variable | store |
Undocumented |
Inherited from MediaPipeline
:
Class Method | from_crawler |
Undocumented |
Constant | LOG_FAILED_RESULTS |
Undocumented |
Class | SpiderInfo |
Undocumented |
Method | _cache_result_and_execute_waiters |
Undocumented |
Method | _check_media_to_download |
Undocumented |
Method | _check_signature |
Undocumented |
Method | _compatible |
Wrapper for overridable methods to allow backwards compatibility |
Method | _handle_statuses |
Undocumented |
Method | _key_for_pipe |
No summary |
Method | _make_compatible |
Make overridable methods of MediaPipeline and subclasses backwards compatible |
Method | _modify_media_request |
Undocumented |
Method | _process_request |
Undocumented |
Method | open_spider |
Undocumented |
Method | process_item |
Undocumented |
Instance Variable | _expects_item |
Undocumented |
Instance Variable | allow_redirects |
Undocumented |
Instance Variable | download_func |
Undocumented |
Instance Variable | handle_httpstatus_list |
Undocumented |
Instance Variable | spiderinfo |
Undocumented |
scrapy.pipelines.images.ImagesPipeline
Undocumented
scrapy.pipelines.images.ImagesPipeline
scrapy.pipelines.images.ImagesPipeline
scrapy.pipelines.images.ImagesPipeline
Undocumented
Value |
|
scrapy.pipelines.images.ImagesPipeline
Undocumented
scrapy.pipelines.images.ImagesPipeline
Undocumented