mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
parent
f29acc4a6e
commit
526410b4af
1 changed files with 0 additions and 1 deletions
|
|
@ -163,7 +163,6 @@ def _extract_firefox_cookies(profile, container, logger):
|
||||||
with tempfile.TemporaryDirectory(prefix='yt_dlp') as tmpdir:
|
with tempfile.TemporaryDirectory(prefix='yt_dlp') as tmpdir:
|
||||||
cursor = _open_database_copy(cookie_database_path, tmpdir)
|
cursor = _open_database_copy(cookie_database_path, tmpdir)
|
||||||
with contextlib.closing(cursor.connection):
|
with contextlib.closing(cursor.connection):
|
||||||
cursor = _open_database_copy(cookie_database_path, tmpdir)
|
|
||||||
db_schema_version = cursor.execute('PRAGMA user_version;').fetchone()[0]
|
db_schema_version = cursor.execute('PRAGMA user_version;').fetchone()[0]
|
||||||
if db_schema_version > MAX_SUPPORTED_DB_SCHEMA_VERSION:
|
if db_schema_version > MAX_SUPPORTED_DB_SCHEMA_VERSION:
|
||||||
logger.warning(f'Possibly unsupported firefox cookies database version: {db_schema_version}')
|
logger.warning(f'Possibly unsupported firefox cookies database version: {db_schema_version}')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue