Medias Iterators (instalooter.medias)

Iterators over Instagram medias.

Iterators defined in this module wrap PageIterator instances to yield individual medias defined in each page instead of whole pages.

class instalooter.medias.MediasIterator(*args, **kwds)[source]

Bases: collections.abc.Iterator, typing.Generic

An iterator over the medias obtained from a page iterator.

__next__()[source]

Return the next item from the iterator. When exhausted, raise StopIteration

class instalooter.medias.TimedMediasIterator(*args, **kwds)[source]

Bases: instalooter.medias.MediasIterator

An iterator over the medias within a specific timeframe.

__next__()[source]

Return the next item from the iterator. When exhausted, raise StopIteration