mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
parent
4f04be6add
commit
a6bcaf71fc
@ -1162,6 +1162,9 @@ def get_value(mdict):
|
|||||||
if mdict['strf_format']:
|
if mdict['strf_format']:
|
||||||
value = strftime_or_none(value, mdict['strf_format'].replace('\\,', ','))
|
value = strftime_or_none(value, mdict['strf_format'].replace('\\,', ','))
|
||||||
|
|
||||||
|
# XXX: Workaround for https://github.com/yt-dlp/yt-dlp/issues/4485
|
||||||
|
if sanitize and value == '':
|
||||||
|
value = None
|
||||||
return value
|
return value
|
||||||
|
|
||||||
na = self.params.get('outtmpl_na_placeholder', 'NA')
|
na = self.params.get('outtmpl_na_placeholder', 'NA')
|
||||||
|
Loading…
Reference in New Issue
Block a user