diff --git a/README.md b/README.md index 3b853ab..e323c47 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/package.json b/package.json index 1c57ff5..5ff00fd 100644 --- a/package.json +++ b/package.json @@ -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",