mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
tv4play: send the cookies to get the video info for hls streams
This commit is contained in:
parent
d8978edbc2
commit
0fa4f8f7c2
@ -132,7 +132,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
||||
yield subtitle(copy.copy(options), "smi", i.find("url").text)
|
||||
|
||||
url = "http://premium.tv4play.se/api/web/asset/%s/play?protocol=hls" % vid
|
||||
error, data = get_http_data(url)
|
||||
error, data = get_http_data(url, cookiejar=self.cj)
|
||||
if error:
|
||||
return
|
||||
xml = ET.XML(data)
|
||||
|
Loading…
Reference in New Issue
Block a user