mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-04 04:16:37 +00:00
Update common.py
This commit is contained in:
parent
0b6f0e18d9
commit
f835a62abe
|
@ -2275,7 +2275,7 @@ def extract_media(x_media_line):
|
||||||
if media_type not in ('VIDEO', 'AUDIO'):
|
if media_type not in ('VIDEO', 'AUDIO'):
|
||||||
return
|
return
|
||||||
channels = media.get('CHANNELS')
|
channels = media.get('CHANNELS')
|
||||||
if not channels is None and channels.isDigit():
|
if not channels is None and str(channels).isdigit():
|
||||||
channels = int(channels)
|
channels = int(channels)
|
||||||
media_url = media.get('URI')
|
media_url = media.get('URI')
|
||||||
if media_url:
|
if media_url:
|
||||||
|
|
Loading…
Reference in a new issue