This commit is contained in:
deathbybandaid 2020-12-15 15:43:46 -05:00
parent 30bcd8e940
commit d9c0677880

View File

@ -30,9 +30,8 @@ class OriginChannels():
state_url_req = self.fhdhr.web.session.get(state_url) state_url_req = self.fhdhr.web.session.get(state_url)
state_url_json = state_url_req.json() state_url_json = state_url_req.json()
for item in state_url_json["rss"]["channel"]["pagecomponent"]["component"]: for item in state_url_json["rss"]["channel"]["pagecomponent"]["component"]:
print(item["item"].keys()) print(item["item"]["slug"].keys())
return []
return []
chan_list_url = "%s/channels/stirr?station=national" % (self.base_api_url) chan_list_url = "%s/channels/stirr?station=national" % (self.base_api_url)
chan_list_urlopn = self.fhdhr.web.session.get(chan_list_url) chan_list_urlopn = self.fhdhr.web.session.get(chan_list_url)