This PR fixes the extraction of the deobfuscation function name for n parameter of streaming URLs for HTML5 clients, causing failure to extract any stream for embeddable age-restricted videos. It also improves existing regular expressions for this function name by using the constant representing multiple characters instead of adding the one or multiple characters token (+) manually in each regex for everything and not only function names.
This PR fixes the extraction of the deobfuscation function name for
n
parameter of streaming URLs for HTML5 clients, causing failure to extract any stream for embeddable age-restricted videos. It also improves existing regular expressions for this function name by using the constant representing multiple characters instead of adding the one or multiple characters token (+
) manually in each regex for everything and not only function names.Fixes TeamNewPipe/NewPipe#11382.