Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File names manipulation #60

Open
satyrmipt opened this issue Aug 17, 2024 · 0 comments
Open

File names manipulation #60

satyrmipt opened this issue Aug 17, 2024 · 0 comments

Comments

@satyrmipt
Copy link

satyrmipt commented Aug 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant