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] Consolidate the regular expressions used to find the cipher decryption function #713

Merged
merged 1 commit into from
Aug 17, 2021

Conversation

AudricV
Copy link
Member

@AudricV AudricV commented Aug 13, 2021

See yt-dlp/yt-dlp#641 for more details.

Also use ADAPTIVE_FORMATS and FORMATS strings constants instead of the corresponding strings in YoutubeStreamExtractor.

Fixes TeamNewPipe/NewPipe#6910

Test APK: app-debug.zip

Note: The extractor in this APK only uses the streams returned on the WEB client to check if the decryption of contents protected with signatureCiphers is working or not.

@AudricV AudricV added bug Issue is related to a bug youtube service, https://www.youtube.com/ labels Aug 13, 2021
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

The changes look good and the apk works. Thank you!

@Stypox Stypox merged commit d8179dc into TeamNewPipe:dev Aug 17, 2021
@AudricV AudricV deleted the regexes-yt-signatureciphers branch August 17, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Seemingly random videos say 'Video not available'
2 participants