Browse Source

Use yt-dlp by default

It has more activity and they fix bugs more quickly
Chocobozzz 1 year ago
parent
commit
f75692700e
3 changed files with 8 additions and 11 deletions
  1. 4 4
      config/default.yaml
  2. 4 4
      config/production.yaml.example
  3. 0 3
      config/test.yaml

+ 4 - 4
config/default.yaml

@@ -511,11 +511,11 @@ import:
         # Examples:
         #   * https://api.github.com/repos/ytdl-org/youtube-dl/releases
         #   * https://api.github.com/repos/yt-dlp/yt-dlp/releases
-        url: 'https://yt-dl.org/downloads/latest/youtube-dl'
+        #   * https://yt-dl.org/downloads/latest/youtube-dl
+        url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
 
-        # youtube-dl binary name
-        # yt-dlp is also supported
-        name: 'youtube-dl'
+        # Release binary name: 'yt-dlp' or 'youtube-dl'
+        name: 'yt-dlp'
 
         # Path to the python binary to execute for youtube-dl or yt-dlp
         python_path: '/usr/bin/python3'

+ 4 - 4
config/production.yaml.example

@@ -521,11 +521,11 @@ import:
         # Examples:
         #   * https://api.github.com/repos/ytdl-org/youtube-dl/releases
         #   * https://api.github.com/repos/yt-dlp/yt-dlp/releases
-        url: 'https://yt-dl.org/downloads/latest/youtube-dl'
+        #   * https://yt-dl.org/downloads/latest/youtube-dl
+        url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
 
-        # youtube-dl binary name
-        # yt-dlp is also supported
-        name: 'youtube-dl'
+        # Release binary name: 'yt-dlp' or 'youtube-dl'
+        name: 'yt-dlp'
 
         # Path to the python binary to execute for youtube-dl or yt-dlp
         python_path: '/usr/bin/python3'

+ 0 - 3
config/test.yaml

@@ -120,9 +120,6 @@ import:
     concurrency: 2
     http:
       enabled: true
-      youtube_dl_release:
-        url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
-        name: 'yt-dlp'
     torrent:
       enabled: true