Modified Bazarr user-agent to report real version

This commit is contained in:
morpheus65535 2021-08-11 15:35:39 -04:00
parent 0e763b79d5
commit d23d36d81c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import subliminal
import datetime
# set subliminal_patch user agent
os.environ["SZ_USER_AGENT"] = "Bazarr/1"
os.environ["SZ_USER_AGENT"] = "Bazarr/{}".format(os.environ["BAZARR_VERSION"])
# set anti-captcha provider and key
configure_captcha_func()