From 560c648e92476cc220a036f1668c4335b98ceece Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Thu, 14 Mar 2019 16:49:30 +0100 Subject: [PATCH] fix decrypt regex for akamai 2 times in file --- .../services/youtube/extractors/YoutubeStreamExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java index 58702dddd..b5940ad11 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java @@ -762,7 +762,7 @@ public class YoutubeStreamExtractor extends StreamExtractor { decryptionFunctionName = Parser.matchGroup1(DECRYPTION_AKAMAIZED_SHORT_STRING_REGEX, playerCode); } catch (Parser.RegexException re2) { try { - decryptionFunctionName = Parser.matchGroup1(DECRYPTION_AKAMAIZED_SHORT_STRING_REGEX, playerCode); + decryptionFunctionName = Parser.matchGroup1(DECRYPTION_AKAMAIZED_STRING_REGEX, playerCode); } catch (Parser.RegexException re3) { throw new DecryptException("Could not find decrypt function with any of the given patterns.", re); }