You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for developing this library.
While reading the source code, I noticed that calling YouTube.streams decrypts all the streaming urls. Since decrypting a url takes some time, this could lead to a loss of time if all decrypted urls are not actually needed.
My suggestion is to introduce a new property (e.g., YouTube.encrypted_streams)and new classes (e.g., EncryptedStreamQuery and EncryptedStream), where the url decryption would only happen when calling EncryptedStream.url.
I apologize if I misunderstood anything. Thank you for your consideration.
The text was updated successfully, but these errors were encountered:
Hello,
First of all, thank you very much for developing this library.
While reading the source code, I noticed that calling
YouTube.streams
decrypts all the streaming urls. Since decrypting a url takes some time, this could lead to a loss of time if all decrypted urls are not actually needed.My suggestion is to introduce a new property (e.g.,
YouTube.encrypted_streams
)and new classes (e.g.,EncryptedStreamQuery
andEncryptedStream
), where the url decryption would only happen when callingEncryptedStream.url
.I apologize if I misunderstood anything. Thank you for your consideration.
The text was updated successfully, but these errors were encountered: