mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 15:40:28 +01:00
29 lines
676 B
Markdown
29 lines
676 B
Markdown
# twitter-tid-deobf-fork
|
|
|
|
This repository performs deobfuscation of the `X-Client-Transaction-Id` header used on Twitter.
|
|
It is automatically updated daily at 22:00 UTC.
|
|
|
|
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/develop/docs/json/ScriptLoadJson.json"
|
|
curl -s $JSON_URL | jq -r '.["ondemand.s"]' | xargs curl -s -o response.html
|
|
```
|
|
|
|
Run
|
|
|
|
```shell
|
|
npm install
|
|
npm run run2
|
|
```
|
|
|
|
Run base `obfio/twitter-tid-deobf`
|
|
|
|
```shell
|
|
npm --prefix base install
|
|
npm --prefix base run run
|
|
```
|