|
|
|
@ -73,6 +73,7 @@ from .postprocessor.ffmpeg import resolve_mapping as resolve_recode_mapping
|
|
|
|
|
from .update import (
|
|
|
|
|
REPOSITORY,
|
|
|
|
|
_get_system_deprecation,
|
|
|
|
|
_get_outdated_warning,
|
|
|
|
|
_make_label,
|
|
|
|
|
current_git_head,
|
|
|
|
|
detect_variant,
|
|
|
|
@ -504,6 +505,7 @@ class YoutubeDL:
|
|
|
|
|
force_keyframes_at_cuts: Re-encode the video when downloading ranges to get precise cuts
|
|
|
|
|
noprogress: Do not print the progress bar
|
|
|
|
|
live_from_start: Whether to download livestreams videos from the start
|
|
|
|
|
warn_when_outdated: Emit a warning if the yt-dlp version is older than 90 days
|
|
|
|
|
|
|
|
|
|
The following parameters are not used by YoutubeDL itself, they are used by
|
|
|
|
|
the downloader (see yt_dlp/downloader/common.py):
|
|
|
|
@ -703,6 +705,9 @@ class YoutubeDL:
|
|
|
|
|
system_deprecation = _get_system_deprecation()
|
|
|
|
|
if system_deprecation:
|
|
|
|
|
self.deprecated_feature(system_deprecation.replace('\n', '\n '))
|
|
|
|
|
elif self.params.get('warn_when_outdated'):
|
|
|
|
|
if outdated_warning := _get_outdated_warning():
|
|
|
|
|
self.report_warning(outdated_warning)
|
|
|
|
|
|
|
|
|
|
if self.params.get('allow_unplayable_formats'):
|
|
|
|
|
self.report_warning(
|
|
|
|
|