mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
nrk: they dont use https for the api call
This commit is contained in:
parent
4afc74c415
commit
37688133b9
@ -28,8 +28,7 @@ class Nrk(Service, OpenGraphThumbMixin):
|
||||
return
|
||||
|
||||
# Get media element details
|
||||
parse = urlparse(self.url)
|
||||
dataurl = "%s://v8.psapi.nrk.no/mediaelement/%s" % (parse.scheme, video_id)
|
||||
dataurl = "http://v8.psapi.nrk.no/mediaelement/%s" % (video_id)
|
||||
data = self.http.request("get", dataurl).text
|
||||
data = json.loads(data)
|
||||
manifest_url = data["mediaUrl"]
|
||||
|
Loading…
Reference in New Issue
Block a user