test
This commit is contained in:
parent
67c88b2a37
commit
de00663b9f
@ -22,7 +22,14 @@ class OriginChannels():
|
|||||||
|
|
||||||
station_by_state_opn = self.fhdhr.web.session.get(self.base_station_url)
|
station_by_state_opn = self.fhdhr.web.session.get(self.base_station_url)
|
||||||
states_list = station_by_state_opn.json()
|
states_list = station_by_state_opn.json()
|
||||||
print(states_list['page'][0])
|
|
||||||
|
for state_uuid in states_list['page']:
|
||||||
|
if state_uuid["pageComponentUuid"].startswith("nearyou-"):
|
||||||
|
state_url = state_uuid["content"]
|
||||||
|
|
||||||
|
state_url_req = self.fhdhr.web.session.get(self.base_station_url)
|
||||||
|
state_url_json = state_url_req.json()
|
||||||
|
print(state_url_json["rss"]["channel"].keys())
|
||||||
|
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user