'Take screenshots for each item from json grouped by user.'

def snap_all(self, **options):

    shots = []
    if options['cl_str']:
        shots = json.loads(options['cl_str'])
    else:
        self.loginfo(('==>    Fetching    screenshots.json    from    %s    ...' % (settings.SCREENSHOTS_JSON_FILE,)))
        shots = json.load(open(settings.SCREENSHOTS_JSON_FILE))
    for shot in shots:
        try:
            self.process_snap(shot)
        except:
            log.error('\nProblem    with    shot:    {shot}\n'.format(shot=shot))
            raise
    self.browser.quit()
