From f61cbeef32b3469d3bad0531dc17eddc495132c1 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Sat, 21 Oct 2023 21:54:57 +0800 Subject: [PATCH] fix yt-dlp cache dir --- bot_db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot_db.py b/bot_db.py index 6a08230..3609789 100644 --- a/bot_db.py +++ b/bot_db.py @@ -22,6 +22,8 @@ from selenium import webdriver if not os.path.exists("./cache"): os.mkdir("./cache") +if not os.path.exists("./cache/yt-dlp"): + os.mkdir("./cache/yt-dlp") print("lanuching driver") options = webdriver.FirefoxOptions()