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

Added option to search with filters #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Goncalo-Chambel
Copy link

I've created an option so that you can search for the images using the available filters from Google, for example the image size or the image color.

I have added an example in the sample.py file and in the simple_image_download.py file, there is a description of the available filters and their meaning. I did not add that information to the README however.

I have also implemented a function to make sure the filters chosen are correcty formatted and if not, a error message is shown.

Let me know if you like this addition and if there is anything else I can do

@Goncalo-Chambel
Copy link
Author

Edit
Modified the method to split the keywords because using spaces for the search term was splitting the keywords. For example "black hole" should be considered as one search term but was being split into "black" and "hole". You can still use multiple search terms, just separate them using a comma

@Pr0mises
Copy link

Thank you! Hope it get's merged

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

Successfully merging this pull request may close these issues.

2 participants