Skip to content

Commit 560c648

Browse files
committed
fix decrypt regex for akamai 2 times in file
1 parent dd61d66 commit 560c648

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ private String getDecryptionFuncName(String playerCode) throws DecryptException
762762
decryptionFunctionName = Parser.matchGroup1(DECRYPTION_AKAMAIZED_SHORT_STRING_REGEX, playerCode);
763763
} catch (Parser.RegexException re2) {
764764
try {
765-
decryptionFunctionName = Parser.matchGroup1(DECRYPTION_AKAMAIZED_SHORT_STRING_REGEX, playerCode);
765+
decryptionFunctionName = Parser.matchGroup1(DECRYPTION_AKAMAIZED_STRING_REGEX, playerCode);
766766
} catch (Parser.RegexException re3) {
767767
throw new DecryptException("Could not find decrypt function with any of the given patterns.", re);
768768
}

0 commit comments

Comments
 (0)