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
feat: Access to the various getInfo miniget requests. #901
Conversation
Good points. Will revise. |
Lint does not like == wants ===. lol. |
First of all thanks for contributing to this library |
@TimeForANinja |
That one. But, before you but that much work into this, i'd like to wait for fent to state his opinion. |
suggested some changes in https://github.com/gatecrasher777/node-ytdl-core/pull/1 😉 |
rework callback
thanks again for the pr 👍 |
🎉 This PR is included in version 4.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
In my use case it is to monitor compressed/uncompressed bandwidth, but there could be many other uses (i.e. applying a timeout or request logging)
See discussion: #899
I'm suggesting a callback which would receive each request in the getInfo pipeline, including retries.
Perhaps there is a better way... but this is my solution which is working well on my test app.