fix yggtorrent

This commit is contained in:
Noémi Ványi 2022-07-30 17:13:53 +02:00
parent fb2c9d9652
commit a5ffe611ad
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ cookies = dict()
def init(engine_settings=None):
global cookies # pylint: disable=global-variable-not-assigned
# initial cookies
resp = http_get(url, follow_redirects=False)
resp = http_get(url)
if resp.ok:
for r in resp.history:
cookies.update(r.cookies)