Fix check for faulty channel identifier not working
This commit is contained in:
parent
c56dbd0f38
commit
a624de1ec3
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -222,7 +222,7 @@ def get_subscriptions_channels_videos(limit=12):
|
|||
latest = []
|
||||
for sub in get_subscriptions_channels():
|
||||
result = get_latest_channel_videos(sub)
|
||||
if result["status"] == 200:
|
||||
if "error" not in result:
|
||||
channel_latest = get_latest_channel_videos(sub)["data"]
|
||||
latest.extend(channel_latest)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue