2020-07-26 19:00:37 +03:00
|
|
|
Resumable Iterations
|
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. module:: instaloader
|
|
|
|
:noindex:
|
|
|
|
|
|
|
|
.. highlight:: python
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:backlinks: none
|
|
|
|
|
|
|
|
For many download targets, Instaloader is able to resume a
|
2020-07-30 17:41:45 +03:00
|
|
|
previously-interrupted iteration. It provides an interruptible
|
2020-07-26 19:00:37 +03:00
|
|
|
Iterator :class:`NodeIterator` and a context manager
|
|
|
|
:func:`resumable_iteration`, which we both present here.
|
|
|
|
|
|
|
|
.. versionadded:: 4.5
|
|
|
|
|
|
|
|
``NodeIterator``
|
|
|
|
""""""""""""""""
|
|
|
|
|
|
|
|
.. autoclass:: NodeIterator
|
|
|
|
:no-show-inheritance:
|
|
|
|
|
|
|
|
.. autoclass:: FrozenNodeIterator
|
|
|
|
:no-show-inheritance:
|
|
|
|
|
|
|
|
``resumable_iteration``
|
|
|
|
"""""""""""""""""""""""
|
|
|
|
|
|
|
|
.. autofunction:: resumable_iteration
|