1
0
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:
Johan Andersson 2018-05-13 01:46:51 +02:00
parent 1b1cde811c
commit 09eac51d6c

View File

@ -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