summaryrefslogtreecommitdiff
path: root/server/szurubooru/func/net.py
diff options
context:
space:
mode:
authorNeo <50623835+neobooru@users.noreply.github.com>2024-04-26 22:16:37 +0200
committerGitHub <noreply@github.com>2024-04-26 22:16:37 +0200
commit4f9d46e1c2c64728c3d13c06b743a92b76a62f4a (patch)
tree83c0a00bdf7e4f2ea7264f049416254a26144c53 /server/szurubooru/func/net.py
parent4ec8cb3ba2cd81a9189426d040f08a7f66e5a895 (diff)
parent5596f537442f4a5d43ebc43b1165253bc137da4d (diff)
Merge branch 'master' into better-links
Diffstat (limited to 'server/szurubooru/func/net.py')
-rw-r--r--server/szurubooru/func/net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/szurubooru/func/net.py b/server/szurubooru/func/net.py
index c53a62e..d6aa95e 100644
--- a/server/szurubooru/func/net.py
+++ b/server/szurubooru/func/net.py
@@ -64,7 +64,7 @@ def download(url: str, use_video_downloader: bool = False) -> bytes:
def _get_youtube_dl_content_url(url: str) -> str:
- cmd = ["youtube-dl", "--format", "best", "--no-playlist"]
+ cmd = ["yt-dlp", "--format", "best", "--no-playlist"]
if config.config["user_agent"]:
cmd.extend(["--user-agent", config.config["user_agent"]])
cmd.extend(["--get-url", url])