1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-10-02 23:47:08 +02:00

Update common.py

This commit is contained in:
merismal34 2022-09-11 19:33:51 +00:00 committed by GitHub
parent 0b6f0e18d9
commit f835a62abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: