mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-04 00:55:15 +00:00
[extractor/youtube:tab] Let approximate_date
return timestamp
This commit is contained in:
@ -3843,8 +3843,8 @@ class InfoExtractor:
|
||||
@param default The default value to return when the key is not present (default: [])
|
||||
@param casesense When false, the values are converted to lower case
|
||||
'''
|
||||
val = traverse_obj(
|
||||
self._downloader.params, ('extractor_args', (ie_key or self.ie_key()).lower(), key))
|
||||
ie_key = ie_key if isinstance(ie_key, str) else (ie_key or self).ie_key()
|
||||
val = traverse_obj(self._downloader.params, ('extractor_args', ie_key.lower(), key))
|
||||
if val is None:
|
||||
return [] if default is NO_DEFAULT else default
|
||||
return list(val) if casesense else [x.lower() for x in val]
|
||||
|
Reference in New Issue
Block a user