still fighting with jdk version strings in app/app.iml, .idea/gradle.xml, .idea/misc.xml
This commit is contained in:
parent
3c72113f4c
commit
a18353df5f
5 changed files with 8 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue