Install Deps
pip install httpx
Edit Configure file, and Save it as config.toml
[from_server]
api_url = ""
username = ""
password = ""
origin = ""
referer = ""
[to_server]
api_url = ""
username = ""
password = ""
origin = ""
referer = ""
Then, run
python replay.py --config config.toml
As the result, Console return something like
Copy [username](https://api_url) => [username](https://api_url)
Status: Finish
If you load a existed json (such as dump.json
), please keep [from_server]
empty and run
python replay.py --config config.toml --load dump.json
If you dump json from api server, run
python replay.py --config config.toml --dump dump.json
MIT License