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

Optimized WEB client #86

Merged
merged 1 commit into from
May 19, 2024
Merged

Conversation

felipeucelli
Copy link
Contributor

Optimization in the interpretation of the throttling parameter

I would like this optimization to be tested.

For each stream, YouTube sends a different signature, but the throttling parameter only changes from the adaptive to the progressive format. So now pytubefix checks if a given parameter has already been deciphered and reuses it, avoiding several calls and reducing the use of jsinterpreter.

I particularly achieved good results, with a difference of around 2 seconds compared to clients who do not need decryption.

@JuanBindez JuanBindez merged commit 2419078 into JuanBindez:dev May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants