diff --git a/src/fw_api.py b/src/fw_api.py index 2ba23de..dab722b 100644 --- a/src/fw_api.py +++ b/src/fw_api.py @@ -30,7 +30,10 @@ else: class current_instance: s = requests.Session() - s.headers.update({"Accept-encoding": 'gzip, br, deflate'}) + s.headers.update({ + "Accept-encoding": 'gzip, br, deflate', + "User-Agent": "funkwhale-cli/latest-commit; +https://git.phreedom.club/localhost_frssoft/funkwhale-cli" + }) instance = get_config('instance') token = auth.get(instance) listen_token = None