style: apply ruff auto-fixes

This commit is contained in:
2026-01-19 03:14:30 -08:00
parent 3ab122a55d
commit a961ac3ce7
72 changed files with 2477 additions and 2871 deletions

View File

@@ -4,13 +4,10 @@ import subprocess
import sys
import shutil
from SYS.logger import log, debug
from urllib.parse import urlsplit, urlunsplit, unquote
from collections import deque
from pathlib import Path
from typing import Any, Dict, Iterable, List, Optional, Sequence, Set, Tuple
from API.HydrusNetwork import apply_hydrus_tag_mutation, fetch_hydrus_metadata, fetch_hydrus_metadata_by_url
from SYS.models import FileRelationshipTracker
try: # Optional; used when available for richer metadata fetches
import yt_dlp
@@ -2585,7 +2582,7 @@ def scrape_url_metadata(
)
except json_module.JSONDecodeError:
pass
except Exception as e:
except Exception:
pass # Silently ignore if we can't get playlist entries
# Fallback: if still no tags detected, get from first item