From b83f001f6f62b7fdd6d25156d71007f67f511ee3 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Tue, 25 Nov 2014 18:52:59 +0100 Subject: [PATCH] kanal5: bogus cookie thing is not needed. --- lib/svtplay_dl/service/kanal5.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/svtplay_dl/service/kanal5.py b/lib/svtplay_dl/service/kanal5.py index 031c5fa..6f0d6bb 100644 --- a/lib/svtplay_dl/service/kanal5.py +++ b/lib/svtplay_dl/service/kanal5.py @@ -30,9 +30,6 @@ class Kanal5(Service): video_id = match.group(1) if options.username and options.password: - # bogus - cc = Cookie(None, 'asdf', None, '80', '80', 'www.kanal5play.se', None, None, '/', None, False, False, 'TestCookie', None, None, None) - self.cj.set_cookie(cc) # get session cookie data = get_http_data("http://www.kanal5play.se/", cookiejar=self.cj) authurl = "https://kanal5swe.appspot.com/api/user/login?callback=jQuery171029989&email=%s&password=%s&_=136250" % \