From 526410b4af9c1ca73aa3503cdaf4d32e42308fd6 Mon Sep 17 00:00:00 2001 From: bashonly Date: Thu, 21 Aug 2025 22:13:45 -0500 Subject: [PATCH] [cookies] Fix f29acc4a6e73a9dc091686d40951288acae5a46d Authored by: bashonly --- yt_dlp/cookies.py | 1 - 1 file changed, 1 deletion(-) diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.py index b72aa3f348..4fdc0b8de7 100644 --- a/yt_dlp/cookies.py +++ b/yt_dlp/cookies.py @@ -163,7 +163,6 @@ def _extract_firefox_cookies(profile, container, logger): with tempfile.TemporaryDirectory(prefix='yt_dlp') as tmpdir: cursor = _open_database_copy(cookie_database_path, tmpdir) with contextlib.closing(cursor.connection): - cursor = _open_database_copy(cookie_database_path, tmpdir) db_schema_version = cursor.execute('PRAGMA user_version;').fetchone()[0] if db_schema_version > MAX_SUPPORTED_DB_SCHEMA_VERSION: logger.warning(f'Possibly unsupported firefox cookies database version: {db_schema_version}')