question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Webhook integration to inform other applications and users when Download is finished

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently other applications and users do not know if download was already finished or not without visiting YoutubeDL page or re-scanning FS. There is no way besides to frequently call YoutubeDL API to get download statuses and in case of slow network nobody will watch it. It would be nice to implement simple webhook with download status when it finished with success or an error.

Describe the solution you’d like Simple web hook configuration with URL, GET or POST, and optionally Body. This will ensure e.g. user notifications implementation based on Gotify.

Additional context e.g. to produce Gotify Notification you can simply call endpoint:

curl "https://push.example.de/message?token=<apptoken>" -F "title=my title" -F "message=my message"

More about this API.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
GlassedSilvercommented, Sep 13, 2021

Sweet stuff!

Just wanna know if there’s any disadvantage to going Apprise to Gotify rather than Gotify to Apprise. Like will some stuff not work in Gotify if it sits on top of Apprise? Personally I’d be using Apprise I guess with Pushover being the target in the end.

Something I want to keep in mind though is… The call for notifications should be abstracted and its arguments fully handled contained in a separate module, so we can switch out the component for anything else if needed in the future without scanning and changing a lot of code at once. So basically like an internal API to a module doing all the heavy lifiting. That module could then also take care of “native notifications” to a possible PWA installed to an Android or Windows/GNU/Linux Desktop PWA client. Just food for thought. 😃

1reaction
GlassedSilvercommented, Sep 11, 2021

I wanna bring Apprise to our attention here as well as a honorable mention/alternative/addition/… 😃

https://github.com/caronc/apprise

An app I already use and love uses it: https://github.com/dgtlmoon/changedetection.io

I like the idea to integrate notifications. The unmonitored nature of this project as “set and forget” solution lends itself to notification systems. Hey, especially if you think of it as a way to offer to serve up PROPER “notification bells” for your favorite channels - no matter the platform they come from - no matter the Algorithm™ deciding for or against pushing it - no matter any of that AND you can land right on your own little video site turf!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use incoming webhooks to get real-time updates - Stripe
Use incoming webhooks to get real-time updates. Listen for events on your Stripe account so your integration can automatically trigger reactions. Stripe uses...
Read more >
App Center Webhook - Visual Studio - Microsoft Learn
Webhooks are a simple way to notify third-party applications when a specified event has occurred. The main goal of webhooks is to communicate ......
Read more >
IFTTT Webhook Integration: A Complete 7 Step Guide to ...
IFTTT Webhook Integration ties your favourite apps together for real-time updates and enhanced experiences. To discover more, check out this ...
Read more >
What is a webhook? - Red Hat
A webhook is an HTTP-based callback function that allows lightweight, event-driven communication between 2 application programming ...
Read more >
Send Notifications to External Software Using Webhooks
To use the API Access token in a DevCS webhook, provide the username and the token of an authenticated user. If you don't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found