refactor: streamline scraper functions to utilize centralized state management

This commit is contained in:
Vxrtrauter
2025-10-09 15:10:18 +02:00
parent 1b0a00068c
commit 1f4fbb845a
5 changed files with 33 additions and 24 deletions
+11
View File
@@ -0,0 +1,11 @@
from dataclasses import dataclass
@dataclass
class AppState:
debug: bool = False
tracker: str = "rutracker"
api_url: str = "https://api.michijackson.xyz"
state = AppState()