From 8bfe28e3975bd79676ea0bf60d560bc638eadeb5 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 28 Jan 2022 07:35:18 -0500 Subject: [PATCH] test --- origin/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/origin/__init__.py b/origin/__init__.py index bf8c822..5798c6b 100644 --- a/origin/__init__.py +++ b/origin/__init__.py @@ -1,3 +1,4 @@ +import json class Plugin_OBJ(): @@ -29,8 +30,8 @@ class Plugin_OBJ(): 'accept-language': 'en-US,en;q=0.9' } chan_req = self.plugin_utils.web.session.get(channels_url, headers=url_headers, data=payload) - entries = chan_req.content.json() - print(entries) + data = json.loads(chan_req.content) + print(data) channel_list = [] return channel_list