-
Notifications
You must be signed in to change notification settings - Fork 3
added windows notification feature to tell the result of the search, … #6
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
base: main
Are you sure you want to change the base?
added windows notification feature to tell the result of the search, … #6
Conversation
…added icon and a schedulaer for the next search. the scheduler is set to 5 seconds by default
| import time | ||
|
|
||
| from bs4 import BeautifulSoup | ||
| from win10toast import ToastNotifier |
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.
Please remove the duplicate import
| requests==2.22.0 | ||
| beautifulsoup4~=4.9.3 | ||
| beautifulsoup4~=4.9.3 | ||
| win10toast |
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.
- Its always a good practice to have the version in the requirements, its possible libraries introduce breaking changes in newer versions which might break the application.
- win10toast is a windows binary, so I am not even able to run this code on a mac, you can add something like this
win10toast==0.9; platform_system == "Windows", which would only install this on windows devices
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.
alright Got it
|
Thank you for the PR @AdetonaMichael! |
Chelsea31
left a comment
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.
Changes are requested for making code agnostic of OS, or even inclusive of all OS
You can have toaster notification for windows, and just leave a simple print for other OS's
I am eager to see what you come up with! 😄
References and Issues/PRs
None
What does this implement/fix? (Changes)
Any other comments?
No