mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 23:50:28 +01:00
26 lines
880 B
Markdown
26 lines
880 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).
|
|
|
|
Output: https://github.com/fa0311/twitter-tid-deobf-fork/blob/main/output/additional2.js
|
|
|
|
## 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
|
|
```
|
|
|
|
## Installation and Running
|
|
|
|
```bash
|
|
npm install # Install dependencies
|
|
npm run run:base # Original implementation by obfio
|
|
npm run run:fork # Forked implementation by fa0311
|
|
npm run run:additional # Implementation by fa0311 including additional features
|
|
```
|