diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 86dcab07d..2b4c948fe 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -2275,7 +2275,7 @@ def extract_media(x_media_line): 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: