From 382ac3470bd8364eacf95b8d13b4b0c70ca87456 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 24 May 2016 08:51:08 -0300 Subject: [PATCH] Fix for #298 --- .../extractor/services/youtube/YoutubeStreamExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor.java b/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor.java index 19ed93262..967a8e098 100644 --- a/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor.java +++ b/app/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor.java @@ -779,7 +779,7 @@ public class YoutubeStreamExtractor extends StreamExtractor { String functionPattern = "(" + decryptionFuncName.replace("$", "\\$") - + "=function\\([a-zA-Z0-9_]*\\)\\{.+?\\})"; + + "=function\\([a-zA-Z0-9_]+\\)\\{.+?\\})"; decryptionFunc = "var " + Parser.matchGroup1(functionPattern, playerCode) + ";"; helperObjectName = Parser