def download_previews(self, savedir=None):
for obsid in self.obsids:<EOL><INDENT>pm = io.PathManager(obsid.img_id, savedir=savedir)<EOL>pm.basepath.mkdir(exist_ok=True)<EOL>basename = Path(obsid.medium_img_url).name<EOL>print("<STR_LIT>", basename)<EOL>urlretrieve(obsid.medium_img_url, str(pm.basepath / basename))<EOL><DEDENT>
Download preview files for the previously found and stored Opus obsids.

        Parameters
        ==========
        savedir: str or pathlib.Path, optional
            If the database root folder as defined by the config.ini should not be used,
            provide a different savedir here. It will be handed to PathManager.