An unofficial Python 3 client for Dragon Ball Legends.
- Python 3
- pip
git clone https://github.com/daye10/dbl-python
cd dbl-python
python -m venv env
source env/bin/activate
pip install -r requirements.txt
First grab credentials from an Android device where DBL is installed and logged in already. This requires a rooted device and adb
.
- If not running an emulator, connect the device to your computer with a USB cable.
- Run
adb root
. - Eventually confirm the popup on the device.
- Run
python get-creds.py creds.json
. Seepython get-creds.py -h
for special setups.
After completing these steps, the necessary credentials to log in will be saved in the file creds.json
.
Log in using credentials from file creds.json
python login.py -c creds.json
Set the HTTP_PROXY
environment variable to use an HTTP proxy (not SOCKS), e.g.:
HTTP_PROXY=127.0.0.1:8080 python login.py -c creds.json