mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-28 13:57:40 +00:00
still fighting with jdk version strings in app/app.iml, .idea/gradle.xml, .idea/misc.xml
This commit is contained in:
@@ -308,12 +308,9 @@ public class YoutubeExtractor implements Extractor {
|
||||
|
||||
private VideoInfo.AudioStream[] parseDashManifest(String dashManifest, String decryptoinCode) {
|
||||
if(!dashManifest.contains("/signature/")) {
|
||||
String encryptedSig = "";
|
||||
String encryptedSig = matchGroup1("/s/([a-fA-F0-9\\.]+)", dashManifest);
|
||||
String decryptedSig;
|
||||
|
||||
//regex methods do not throw runtime exceptions, if their arguments are valid
|
||||
encryptedSig = matchGroup1("/s/([a-fA-F0-9\\.]+)", dashManifest);
|
||||
|
||||
decryptedSig = decryptSignature(encryptedSig, decryptoinCode);
|
||||
dashManifest = dashManifest.replace("/s/" + encryptedSig, "/signature/" + decryptedSig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user