Fix OkHttp

This commit is contained in:
wb9688 2018-02-15 14:23:45 +01:00
parent 4fb49d54b5
commit 4ac70e6966

View file

@ -678,7 +678,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
String helperPattern = "(var "
+ helperObjectName.replace("$", "\\$") + "=\\{.+?\\}\\};)";
helperObject = Parser.matchGroup1(helperPattern, playerCode);
helperObject = Parser.matchGroup1(helperPattern, playerCode.replace("\n", ""));
callerFunc = callerFunc.replace("%%", decryptionFuncName);