mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
subtitle: remove unused cookies variable
This commit is contained in:
parent
1b1cde811c
commit
09eac51d6c
@ -27,7 +27,7 @@ class subtitle(object):
|
||||
return "<Subtitle(type={}, url={}>".format(self.subtype, self.url)
|
||||
|
||||
def download(self):
|
||||
subdata = self.http.request("get", self.url, cookies=self.options.cookies)
|
||||
subdata = self.http.request("get", self.url)
|
||||
if subdata.status_code != 200:
|
||||
log.warning("Can't download subtitle file")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user