Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
small fix
Jules-WinnfieldXfecf7f7370e8
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.pyindex 546050a87..d0979fd03 100644--- a/cyberdrop_dl/__init__.py+++ b/cyberdrop_dl/__init__.py@@ -1 +1 @@-__version__ = "2.13.9"+__version__ = "2.14.0"diff --git a/cyberdrop_dl/utils/base_functions.py b/cyberdrop_dl/utils/base_functions.pyindex e12023f25..cecf293d6 100644--- a/cyberdrop_dl/utils/base_functions.py+++ b/cyberdrop_dl/utils/base_functions.py@@ -70,8 +70,8 @@ def sql_initialize():return conn, curr-async def sql_check_existing(cursor: sqlite3.Cursor, url, size):- cursor.execute("""SELECT completed FROM downloads WHERE filename = '%s' and size = %d""" % (str(url), size))+async def sql_check_existing(cursor: sqlite3.Cursor, filename, size):+ cursor.execute("""SELECT completed FROM downloads WHERE filename = '%s' and size = %d""" % (filename, size))sql_file_check = cursor.fetchone()if sql_file_check:if sql_file_check[0] == 1: