1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-10 15:20:27 +01:00

update readme

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-12-15 21:56:08 +09:00
parent ea83229dff
commit 1c403fc235
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 17 additions and 2 deletions

View file

@ -1,7 +1,22 @@
# twitter-tid-deobf-fork
## Clean Up Only
Run twitter-tid-deobf
```shell
npm --prefix base install
npm --prefix base run run
```
Update `source/a.js`
```shell
JSON_URL="https://raw.githubusercontent.com/fa0311/TwitterInternalAPIDocument/refs/heads/master/docs/json/ScriptLoadJson.json"
curl -s $JSON_URL | jq -r '.["ondemand.s"]' | xargs curl -s -o response.html
```
Run twitter-tid-deobf-fork
```shell
npm install
npm run run2
```

View file

@ -5,7 +5,7 @@
"main": "deobf.js",
"scripts": {
"run": "node deobf.js source/a.js output/a.js && node deobf2.js output/a.js output/b.js",
"run2": "node deobf.js source/a.js output/a.js && node deobf2.js output/a.js output/b.js && node deobf.js output/b.js output/b.js && node deobf2.js output/b.js output/a.js"
"run2": "node deobf.js source/a.js output/a.js && node deobf2.js output/a.js output/b.js && node deobf.js output/b.js output/b.js && node deobf2.js output/b.js output/b.js"
},
"author": "",
"license": "ISC",