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

[YouTube] Remove deprecated throttling decryption code #901

Merged

Conversation

AudricV
Copy link
Member

@AudricV AudricV commented Aug 18, 2022

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
    I didn't test the changes but the changes made in this pull request should not affect the app as throttling decryption is only performed by the extractor.

This PR removes the deprecated code of YoutubeThrottlingDecrypter, deprecated officially since v0.22.0 (with #786), released on April 16th (so more than four months ago).

It also fixes typos in the Javadoc of the method used to perform the throttling decryption in YoutubeStreamExtractor, tryDecryptUrl(String, String), as pointed in #891 (review).

YoutubeThrottlingDecrypter is now a non-instantiable final class and non-static
attributes have been removed.

The static attributes of this class have been renamed, in order to respect the
naming specification used.
@AudricV AudricV added the youtube service, https://www.youtube.com/ label Aug 18, 2022
@opusforlife2 opusforlife2 added the codequality Improvements to the codebase to improve the code quality label Aug 19, 2022
Copy link
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation is fine but the other stuff introduced here not so much...

@AudricV AudricV force-pushed the remove-deprecated-code-yt-throttling-decrypter branch from 9b738c5 to 03d9a4f Compare August 21, 2022 19:18
@AudricV AudricV requested a review from litetex August 21, 2022 19:19
Copy link
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@litetex litetex merged commit 0a5ad90 into TeamNewPipe:dev Aug 22, 2022
@AudricV AudricV deleted the remove-deprecated-code-yt-throttling-decrypter branch August 22, 2022 15:20
@sseodate

This comment was marked as off-topic.

@AudricV

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codequality Improvements to the codebase to improve the code quality youtube service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants