test
This commit is contained in:
parent
34af797104
commit
63d95ded5f
@ -18,7 +18,7 @@ class OriginChannels():
|
|||||||
api_json = self.fhdhr.web.session.get(channel_json_url).json()
|
api_json = self.fhdhr.web.session.get(channel_json_url).json()
|
||||||
|
|
||||||
for channel_dict in api_json['channel']['item']:
|
for channel_dict in api_json['channel']['item']:
|
||||||
if channel_dict["properties"]["has_vod"]:
|
if channel_dict["properties"]["has_vod"] == "true":
|
||||||
|
|
||||||
clean_station_item = {
|
clean_station_item = {
|
||||||
"name": channel_dict["title"],
|
"name": channel_dict["title"],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user