Batch Runner (instalooter.batch)

Run several jobs sharing a session using a configuration file.

class instalooter.batch.BatchRunner(handle, args=None)[source]

Bases: object

Run InstaLooter in batch mode, using a configuration file.

get_targets(raw_string)[source]

Extract targets from a string in ‘key: value’ format.

run_all()[source]

Run all the jobs specified in the configuration file.

run_job(section_id, session=None)[source]

Run a job as described in the section named section_id.

Raises

KeyError – when the section could not be found.

instalooter.batch.logger = <VerboseLogger instalooter.batch (WARNING)>

The module logger