mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-22 10:19:20 +02:00
User agent added
This commit is contained in:
parent
ac6cd667fd
commit
174c2311da
|
@ -30,7 +30,10 @@ else:
|
||||||
|
|
||||||
class current_instance:
|
class current_instance:
|
||||||
s = requests.Session()
|
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')
|
instance = get_config('instance')
|
||||||
token = auth.get(instance)
|
token = auth.get(instance)
|
||||||
listen_token = None
|
listen_token = None
|
||||||
|
|
Loading…
Reference in New Issue