aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-21 16:28:39 +0200
committerChocobozzz <me@florianbigard.com>2021-10-22 10:25:24 +0200
commit62549e6c9818f422698f030e0b242609115493ed (patch)
tree12a969f694239fe5f926f779698df9523605ee80 /config/default.yaml
parenta71d4140a5b7831dbe2eb7a0dfaa6a755cb2e906 (diff)
downloadPeerTube-62549e6c9818f422698f030e0b242609115493ed.tar.gz
PeerTube-62549e6c9818f422698f030e0b242609115493ed.tar.zst
PeerTube-62549e6c9818f422698f030e0b242609115493ed.zip
Rewrite youtube-dl import
Use python3 binary Allows to use a custom youtube-dl release URL Allows to use yt-dlp (youtube-dl fork) Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY env variables
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml17
1 files changed, 13 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index c46d0e883..ec9622477 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -85,6 +85,7 @@ client:
85# From the project root directory 85# From the project root directory
86storage: 86storage:
87 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... 87 tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
88 bin: 'storage/bin/'
88 avatars: 'storage/avatars/' 89 avatars: 'storage/avatars/'
89 videos: 'storage/videos/' 90 videos: 'storage/videos/'
90 streaming_playlists: 'storage/streaming-playlists/' 91 streaming_playlists: 'storage/streaming-playlists/'
@@ -394,13 +395,21 @@ import:
394 http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html 395 http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
395 enabled: false 396 enabled: false
396 397
398 youtube_dl_release:
399 # Direct download URL to youtube-dl binary
400 # Github releases API is also supported
401 # Examples:
402 # * https://api.github.com/repos/ytdl-org/youtube-dl/releases
403 # * https://api.github.com/repos/yt-dlp/yt-dlp/releases
404 url: 'https://yt-dl.org/downloads/latest/youtube-dl'
405
406 # youtube-dl binary name
407 # yt-dlp is also supported
408 name: 'youtube-dl'
409
397 # IPv6 is very strongly rate-limited on most sites supported by youtube-dl 410 # IPv6 is very strongly rate-limited on most sites supported by youtube-dl
398 force_ipv4: false 411 force_ipv4: false
399 412
400 # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl
401 proxy:
402 enabled: false
403 url: ''
404 torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) 413 torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file)
405 enabled: false 414 enabled: false
406 415