mirror of https://github.com/morpheus65535/bazarr
Modified Bazarr user-agent to report real version
This commit is contained in:
parent
0e763b79d5
commit
d23d36d81c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue