Compare commits

...

2 Commits

Author SHA1 Message Date
localhost_frssoft 174c2311da User agent added 2023-06-16 14:45:20 +03:00
localhost_frssoft ac6cd667fd top margin for fix collisions 2023-06-16 11:38:51 +03:00
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -8,7 +8,9 @@ from shlex import quote
import mpv
import time
import re
import os
os.environ['FZF_DEFAULT_OPTS'] = '--margin 2,0,0,0'
fzf = FzfPrompt()
if get_config('enable_persistent_cache'):