diff options
author | Alex Shnitman <alexta69@gmail.com> | 2021-08-28 10:32:24 +0300 |
---|---|---|
committer | Alex Shnitman <alexta69@gmail.com> | 2021-08-28 10:32:24 +0300 |
commit | b1f856474cda80714688bf214e5aa4ee07898b47 (patch) | |
tree | 723e68c07717199e6270e6e7b720dcca67b753e1 /README.md | |
parent | allow all video formats, and merge into mp4 (diff) | |
download | metube-b1f856474cda80714688bf214e5aa4ee07898b47.tar.gz metube-b1f856474cda80714688bf214e5aa4ee07898b47.tar.bz2 metube-b1f856474cda80714688bf214e5aa4ee07898b47.zip |
add support for youtube-dl options (closes #33, #34)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ Certain values can be set via environment variables, using the `-e` parameter on * __AUDIO_DOWNLOAD_DIR__: path to where audio-only downloads will be saved, if you wish to separate them from the video downloads. Defaults to the value of `DOWNLOAD_DIR`.
* __URL_PREFIX__: base path for the web server (for use when hosting behind a reverse proxy). Defaults to `/`.
* __OUTPUT_TEMPLATE__: the template for the filenames of the downloaded videos, formatted according to [this spec](https://github.com/ytdl-org/youtube-dl/blob/master/README.md#output-template). Defaults to `%(title)s.%(ext)s`.
+* __YTDL_OPTIONS__: Additional options to pass to youtube-dl, in JSON format. [See available options here](https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/YoutubeDL.py#L176). They roughly correspond to command-line options, though some do not have exact equivalents here, for example `--recode-video` has to be specified via `postprocessors`. Also note that dashes are replaced with underscores. Example value: `{"sleep_interval":10}`.
## Chrome extension
|