From b5355e88c9027eb143e435be56d7e00769fc69c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Sun, 15 Dec 2024 22:06:45 +0900 Subject: [PATCH] update readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e323c47..c87a398 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,29 @@ # twitter-tid-deobf-fork -Run twitter-tid-deobf +This repository performs deobfuscation of the `X-Client-Transaction-Id` header used on Twitter. +It is automatically updated daily at 22:00 UTC. -```shell -npm --prefix base install -npm --prefix base run run -``` +It is a fork of [https://github.com/obfio/twitter-tid-deobf](https://github.com/obfio/twitter-tid-deobf). + +## Usage Update `source/a.js` ```shell -JSON_URL="https://raw.githubusercontent.com/fa0311/TwitterInternalAPIDocument/refs/heads/master/docs/json/ScriptLoadJson.json" +JSON_URL="https://raw.githubusercontent.com/fa0311/TwitterInternalAPIDocument/refs/heads/develop/docs/json/ScriptLoadJson.json" curl -s $JSON_URL | jq -r '.["ondemand.s"]' | xargs curl -s -o response.html ``` -Run twitter-tid-deobf-fork +Run ```shell npm install npm run run2 ``` + +Run base `obfio/twitter-tid-deobf` + +```shell +npm --prefix base install +npm --prefix base run run +```