diff options
author | Alex <alexta69@gmail.com> | 2021-05-18 21:08:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 21:08:18 +0300 |
commit | 3c7e66760d1b340d35fabf2bc37dea2cf75666e6 (patch) | |
tree | 53de4205e856a0a1f18cd10a4d2a79b63fd3b3f0 /README.md | |
parent | upgraded youtube-dl (diff) | |
parent | add documentation for the OUTPUT_TEMPLATE env variable (diff) | |
download | metube-3c7e66760d1b340d35fabf2bc37dea2cf75666e6.tar.gz metube-3c7e66760d1b340d35fabf2bc37dea2cf75666e6.tar.bz2 metube-3c7e66760d1b340d35fabf2bc37dea2cf75666e6.zip |
Merge pull request #31 from xiongzi/master
environment variable to customize output file names
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ Certain values can be set via environment variables, using the `-e` parameter on * __DOWNLOAD_DIR__: path to where the downloads will be saved. Defaults to `/downloads` in the docker image, and `.` otherwise.
* __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`.
## Bookmarklet
|