diff --git a/addon.py b/addon.py index f07d37e..d8a1eaf 100644 --- a/addon.py +++ b/addon.py @@ -60,6 +60,8 @@ def getJSON(url, token): req.add_header('Content-Type', 'application/json') req.add_header('Referer', 'https://app.curiositystream.com/') req.add_header('Origin', 'https://app.curiositystream.com') + req.add_header('X-Platform', 'kodi') + req.add_header('X-Client-Version', VeryBaddude/plugin.video.curiositystream) response = urllib2.urlopen(req) source = response.read() response.close()