Добавить основную функциональность загрузки YouTube Shorts с использованием файла сессии и обработкой ошибок

This commit is contained in:
ВяткинАртём
2026-05-27 16:33:22 +03:00
parent 2d1f671d5a
commit d06bd989f3
23 changed files with 884 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
from dataclasses import dataclass
@dataclass(frozen=True, slots=True)
class SessionCookie:
domain: str
include_subdomains: bool
path: str
secure: bool
expires: int
name: str
value: str
@dataclass(frozen=True, slots=True)
class SessionValidation:
exists: bool
structurally_valid: bool
fresh: bool
is_usable: bool
message: str