-
-
Notifications
You must be signed in to change notification settings - Fork 46.8k
Download images from google query #4853
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
Download images from google query #4853
Conversation
@cclauss any review for this one? |
@poyea can i get a review on this? I had mistakenly pushed another PR without checking the boxes, which got marked as |
I'd suggest this go into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is starting to look great!
using iterators instead of lists Co-authored-by: Christian Clauss <[email protected]>
Improve readability by removing one-time used variable Co-authored-by: Christian Clauss <[email protected]>
Decreasing complication through standard practices. Co-authored-by: Christian Clauss <[email protected]>
Exception Handling Co-authored-by: Christian Clauss <[email protected]>
@@ -0,0 +1,42 @@ | |||
import sys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my Mac, when I run python3 -m doctest -v web_programming/show_image_tab_from_google_query.py
the tests fail. What happens on your computer?
@cclauss Thank you very much. I have honestly learned the most while trying to get PRs accepted into this repo. And I really appreciate you for taking the time to monitor and help us, beginner contributors!! You have been an amazing teacher 😄 |
* Added new script to open the google image tab with a search query. * Added new script to open the google image tab with a search query. * Added new script to open the google image tab with a search query with doctests. * Fixed doctest error, removed print() from method, changed return type * Update web_programming/show_image_tab_from_google_query.py using iterators instead of lists Co-authored-by: Christian Clauss <[email protected]> * Update web_programming/show_image_tab_from_google_query.py Improve readability by removing one-time used variable Co-authored-by: Christian Clauss <[email protected]> * Update web_programming/show_image_tab_from_google_query.py Decreasing complication through standard practices. Co-authored-by: Christian Clauss <[email protected]> * Update web_programming/show_image_tab_from_google_query.py Exception Handling Co-authored-by: Christian Clauss <[email protected]> * changed complete method to download images from google search query * Update download_images_from_google_query.py * Delete show_image_tab_from_google_query.py Co-authored-by: Christian Clauss <[email protected]>
Added new script
web_programming/show_image_tab_from_google_query.py
to open the google image tab with a search query. It includesdocumentations
anddoctests
. Modularized the script and made it more customizable. Fixed formatting usingblack
andflake8
.Checklist:
Fixes: #{$ISSUE_NO}
.