Skip to content

Bulk asynchronous downloader for multiple file hosts

New debug var (#435)

Jacob2c7ed9979475
diff --git a/cyberdrop_dl/scraper/__init__.py b/cyberdrop_dl/scraper/__init__.py
index 7dc267291..2174e8528 100644
--- a/cyberdrop_dl/scraper/__init__.py
+++ b/cyberdrop_dl/scraper/__init__.py
@@ -57,7 +57,7 @@ CRAWLERS = ALL_CRAWLERS - DEBUG_CRAWLERS
constants.RUNNING_PRERELEASE = next((tag for tag in constants.PRERELEASE_TAGS if tag in current_version), False)
RUNNING_IN_IDE = os.getenv("PYCHARM_HOSTED") or os.getenv("TERM_PROGRAM") == "vscode"
-if constants.RUNNING_PRERELEASE or RUNNING_IN_IDE:
+if constants.RUNNING_PRERELEASE or RUNNING_IN_IDE or os.getenv("ENABLESIMPCITY"):
CRAWLERS = ALL_CRAWLERS
if RUNNING_IN_IDE:
diff --git a/cyberdrop_dl/utils/transfer/transfer_hash_db.py b/cyberdrop_dl/utils/transfer/transfer_hash_db.py
index 5c819f90b..69751f46a 100644
--- a/cyberdrop_dl/utils/transfer/transfer_hash_db.py
+++ b/cyberdrop_dl/utils/transfer/transfer_hash_db.py
@@ -11,6 +11,7 @@ from cyberdrop_dl.utils.transfer.wrapper import db_transfer_context
console = Console()
+
def transfer_from_old_hash_table(db_path):
"""Transfers data from the old 'hash' table to new 'files' and 'temp_hash' tables, handling potential schema differences and errors.