Merge pull request #70 from wb9688/fix-okhttp

Fix OkHttp
This commit is contained in:
Christian Schabesberger 2018-02-20 13:46:00 +01:00 committed by GitHub
commit 7716b14378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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