bing_image_downloader icon indicating copy to clipboard operation
bing_image_downloader copied to clipboard

File names manipulation

Open satyrmipt opened this issue 1 year ago • 0 comments

Useful package but still imagine you use several such packages to download images of o cats from several sources like bing, google, and others. It would be nice to have option to prefix names like this:

downloader.download(
    label=search_str,
    output_dir=output_dir,
    photo="photo", #choose from [line, photo, clipart, gif, transparent]
    limit=5,
    name_prefix='bing',
    main_name='cat',
    name_sep='_'
)

so you can save all cats images in one folder like this bing_cat_001.jpg google_cat_001.jpg

satyrmipt avatar Aug 17 '24 16:08 satyrmipt