Update channels list
Remove archived channels
This commit is contained in:
parent
15b2d21c8a
commit
4854f09568
2 changed files with 5 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
@ -40,6 +40,10 @@ while True:
|
|||
totalChannels = channels['total']
|
||||
|
||||
for channel in channels['channels']:
|
||||
print("{}".format(channel['name']))
|
||||
if ('archived' in channel) and channel['archived']:
|
||||
continue
|
||||
|
||||
if channel['name'].find('cohorte') != -1:
|
||||
if 'description' in channel:
|
||||
m = re.findall(r'#([\w-]+)', channel['description'])
|
||||
|
|
Loading…
Reference in a new issue