This commit is contained in:
deathbybandaid 2022-01-28 07:35:18 -05:00
parent 3073517469
commit 8bfe28e397

View File

@ -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