class documentation
class ImagesPipeline(FilesPipeline): (source)
Abstract pipeline that implement the image thumbnail generation logic
Class Method | from |
Undocumented |
Method | __init__ |
Undocumented |
Method | convert |
Undocumented |
Method | file |
Undocumented |
Method | file |
Returns the path where downloaded media should be stored |
Method | get |
Undocumented |
Method | get |
Returns the media requests to download |
Method | image |
Undocumented |
Method | item |
Called per item when all media requests has been processed |
Method | thumb |
Undocumented |
Constant | DEFAULT |
Undocumented |
Constant | DEFAULT |
Undocumented |
Constant | EXPIRES |
Undocumented |
Constant | MEDIA |
Undocumented |
Constant | MIN |
Undocumented |
Constant | MIN |
Undocumented |
Constant | THUMBS |
Undocumented |
Instance Variable | expires |
Undocumented |
Instance Variable | IMAGES |
Undocumented |
Instance Variable | images |
Undocumented |
Instance Variable | IMAGES |
Undocumented |
Instance Variable | images |
Undocumented |
Instance Variable | min |
Undocumented |
Instance Variable | min |
Undocumented |
Instance Variable | thumbs |
Undocumented |
Instance Variable | _deprecated |
Undocumented |
Instance Variable | _ |
Undocumented |
Inherited from FilesPipeline
:
Method | inc |
Undocumented |
Method | media |
Handler for success downloads |
Method | media |
Handler for failed downloads |
Method | media |
Check request before starting download |
Constant | DEFAULT |
Undocumented |
Constant | DEFAULT |
Undocumented |
Constant | STORE |
Undocumented |
Instance Variable | FILES |
Undocumented |
Instance Variable | files |
Undocumented |
Instance Variable | FILES |
Undocumented |
Instance Variable | files |
Undocumented |
Instance Variable | store |
Undocumented |
Method | _get |
Undocumented |
Inherited from MediaPipeline
(via FilesPipeline
):
Class |
|
Undocumented |
Class Method | from |
Undocumented |
Method | open |
Undocumented |
Method | process |
Undocumented |
Constant | LOG |
Undocumented |
Instance Variable | allow |
Undocumented |
Instance Variable | download |
Undocumented |
Instance Variable | handle |
Undocumented |
Instance Variable | spiderinfo |
Undocumented |
Method | _cache |
Undocumented |
Method | _check |
Undocumented |
Method | _check |
Undocumented |
Method | _compatible |
Wrapper for overridable methods to allow backwards compatibility |
Method | _handle |
Undocumented |
Method | _key |
>>> MediaPipeline()._key_for_pipe("IMAGES") 'IMAGES' >>> class MyPipe(MediaPipeline): ... pass >>> MyPipe()._key_for_pipe("IMAGES", base_class_name="MediaPipeline") 'MYPIPE_IMAGES' |
Method | _make |
Make overridable methods of MediaPipeline and subclasses backwards compatible |
Method | _modify |
Undocumented |
Method | _process |
Undocumented |
Instance Variable | _expects |
Undocumented |