fix decrypt regex for akamai 2 times in file

This commit is contained in:
Christian Schabesberger 2019-03-14 16:49:30 +01:00
parent dd61d66cf5
commit 560c648e92
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}