test
This commit is contained in:
parent
e8532a1e7d
commit
1eecd65ceb
@ -20,8 +20,6 @@ class OriginChannels():
|
|||||||
urlopn = self.fhdhr.web.session.get(url)
|
urlopn = self.fhdhr.web.session.get(url)
|
||||||
stirr_chan_list = urlopn.json()
|
stirr_chan_list = urlopn.json()
|
||||||
|
|
||||||
print(stirr_chan_list["channel"][0])
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
'display-name': 'dco',
|
'display-name': 'dco',
|
||||||
@ -33,7 +31,7 @@ class OriginChannels():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
channel_list = []
|
channel_list = []
|
||||||
for channel_dict in stirr_chan_list:
|
for channel_dict in stirr_chan_list["channel"]:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
thumbnail = channel_dict["icon"]["src"].split("?")[0]
|
thumbnail = channel_dict["icon"]["src"].split("?")[0]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user