This commit is contained in:
eric
2026-05-19 06:47:07 +00:00
parent e1d7251545
commit 78e1308063
63 changed files with 2527 additions and 186 deletions

View File

@@ -2,6 +2,7 @@
from __future__ import annotations
import argparse
import base64
import hashlib
import json
from pathlib import Path
@@ -53,15 +54,17 @@ def tm_hash(value: Any, seen: list[int] | None = None) -> str:
def build_payload(script_text: str) -> dict[str, Any]:
encoded_source = base64.b64encode(script_text.encode("utf-8")).decode("ascii")
return {
"version": "1",
"scripts": [
{
"name": "YouTube Studio Auto Dismiss",
"file_url": GREASYFORK_URL,
"source": script_text,
"source": encoded_source,
"enabled": True,
"position": 1,
"options": {},
}
],
"settings": {