From f835a62abefa9c2c85737102900eb27d9029ba9f Mon Sep 17 00:00:00 2001 From: merismal34 <113308532+merismal34@users.noreply.github.com> Date: Sun, 11 Sep 2022 19:33:51 +0000 Subject: [PATCH] Update common.py --- yt_dlp/extractor/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 86dcab07db..2b4c948fec 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -2275,7 +2275,7 @@ class InfoExtractor: if media_type not in ('VIDEO', 'AUDIO'): return channels = media.get('CHANNELS') - if not channels is None and channels.isDigit(): + if not channels is None and str(channels).isdigit(): channels = int(channels) media_url = media.get('URI') if media_url: