mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
fix(YouTube - Spoof streaming data): Skip response encryption in OnesiePlayerRequest https://github.com/ReVanced/revanced-patches/pull/4521
This commit is contained in:
@ -106,4 +106,18 @@ public class BlockRequestPatch {
|
||||
|
||||
return initPlaybackRequestUri;
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
* Skip response encryption in OnesiePlayerRequest.
|
||||
*/
|
||||
public static boolean skipResponseEncryption(boolean original) {
|
||||
Logger.printDebug(() -> "response Encryption: " + original);
|
||||
|
||||
if (BLOCK_REQUEST) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return original;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user