[youtube:tab] Add approximate_date extractor-arg
This commit is contained in:
parent
65d151d58f
commit
a30a6ed3e4
2 changed files with 2 additions and 1 deletions
|
|
@ -844,7 +844,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
|||
'uploader': uploader,
|
||||
'channel_id': channel_id,
|
||||
'thumbnails': thumbnails,
|
||||
# 'upload_date': strftime_or_none(timestamp, '%Y%m%d'),
|
||||
'upload_date': strftime_or_none(timestamp, '%Y%m%d') if self._configuration_arg('approximate_date', ie_key='youtubetab') else None,
|
||||
'live_status': ('is_upcoming' if scheduled_timestamp is not None
|
||||
else 'was_live' if 'streamed' in time_text.lower()
|
||||
else 'is_live' if overlay_style is not None and overlay_style == 'LIVE' or 'live now' in badges
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue