Skip to content

[YouTube] Consolidate the regular expressions used to find the cipher decryption function#713

Merged
Stypox merged 1 commit intoTeamNewPipe:devfrom
AudricV:regexes-yt-signatureciphers
Aug 17, 2021
Merged

[YouTube] Consolidate the regular expressions used to find the cipher decryption function#713
Stypox merged 1 commit intoTeamNewPipe:devfrom
AudricV:regexes-yt-signatureciphers

Conversation

@AudricV
Copy link
Copy Markdown
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 or PR is related to a bug YouTube Service, https://www.youtube.com/ labels Aug 13, 2021
Copy link
Copy Markdown
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 or PR 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