diff --git a/tubearchivist/home/src/download/yt_dlp_base.py b/tubearchivist/home/src/download/yt_dlp_base.py index b32d536..260b955 100644 --- a/tubearchivist/home/src/download/yt_dlp_base.py +++ b/tubearchivist/home/src/download/yt_dlp_base.py @@ -30,7 +30,8 @@ class YtWrap: """build yt-dlp obs""" self.obs = self.OBS_BASE.copy() self.obs.update(self.obs_request) - self.add_cookie() + if self.config: + self.add_cookie() def add_cookie(self): """add cookie if enabled"""