diff options
author | Diego Heras <[email protected]> | 2021-03-25 23:51:08 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-25 18:51:08 -0400 |
commit | bb72d57e30fd5bb223661e24636b2a3732f82920 (patch) | |
tree | ce6794b78be1a479d3ab400b478114ea91388d8c | |
parent | 09e0b21b15e0f243ae122f97ae1a07dd81e20733 (diff) | |
download | bazarr-bb72d57e30fd5bb223661e24636b2a3732f82920.tar.gz bazarr-bb72d57e30fd5bb223661e24636b2a3732f82920.zip |
Fixed tusubtitulo provider. resolves #1332 (#1334)
-rw-r--r-- | libs/subliminal_patch/providers/tusubtitulo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/tusubtitulo.py b/libs/subliminal_patch/providers/tusubtitulo.py index 7dd5a9ca1..6ed0eda55 100644 --- a/libs/subliminal_patch/providers/tusubtitulo.py +++ b/libs/subliminal_patch/providers/tusubtitulo.py @@ -66,7 +66,7 @@ class TuSubtituloProvider(Provider): def initialize(self): self.session = Session() self.session.headers = { - "User-Agent": random.choice(AGENT_LIST), + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36", "referer": BASE_URL, } |