mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
kanal5: bogus cookie thing is not needed.
This commit is contained in:
parent
f85840e502
commit
b83f001f6f
@ -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" % \
|
||||
|
Loading…
Reference in New Issue
Block a user