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

Group notifications into one when more than one car is posted for a source #5

Open
sphars opened this issue Apr 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sphars
Copy link
Owner

sphars commented Apr 20, 2022

If a source has more than one new car, change the notification to be more generic ("new cars posted at "), and link it to the source's homepage. Alternatively, list them in the notification, but may be unwieldy with > 5 cars or so. Should also help to not send multiple requests to ntfy.sh at once.

Once more sources are added, this behavior may be further adjusted.

Reasoning: AFCU likes to post new cars weekly (usually Wednesdays) so when the script runs, users receive multiple notifications at once.

@sphars sphars added the enhancement New feature or request label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant