From 86690721539b28cd66b5d5cfbf45e91bb3e53ff4 Mon Sep 17 00:00:00 2001 From: inotia00 Date: Tue, 14 Mar 2023 20:03:17 +0900 Subject: [PATCH] refactor(protobuf-spoof): apply another protobuf instead of shorts' protobuf --- .../youtube/misc/fix/playback/patch/ProtobufSpoofPatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/ProtobufSpoofPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/ProtobufSpoofPatch.kt index a7a515ef3..08c3e8bc1 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/ProtobufSpoofPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/ProtobufSpoofPatch.kt @@ -32,7 +32,7 @@ class ProtobufSpoofPatch : BytecodePatch( .getMethod() as MutableMethod ) { val protobufParam = 3 - val protobufParameter = "8AEByAMTuAQP" /* Protobuf Parameter of shorts */ + val protobufParameter = "CgIQBg%3D%3D" /* Protobuf Parameter of X-Goog-Visitor-Id */ addInstruction( 0,