Fix for #298
This commit is contained in:
parent
3abfb08090
commit
382ac3470b
|
@ -779,7 +779,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
||||||
|
|
||||||
String functionPattern = "("
|
String functionPattern = "("
|
||||||
+ decryptionFuncName.replace("$", "\\$")
|
+ decryptionFuncName.replace("$", "\\$")
|
||||||
+ "=function\\([a-zA-Z0-9_]*\\)\\{.+?\\})";
|
+ "=function\\([a-zA-Z0-9_]+\\)\\{.+?\\})";
|
||||||
decryptionFunc = "var " + Parser.matchGroup1(functionPattern, playerCode) + ";";
|
decryptionFunc = "var " + Parser.matchGroup1(functionPattern, playerCode) + ";";
|
||||||
|
|
||||||
helperObjectName = Parser
|
helperObjectName = Parser
|
||||||
|
|
Loading…
Reference in New Issue