Доделал до рабочего концепта

This commit is contained in:
Viner Abubakirov
2026-02-23 13:21:56 +05:00
parent a5c608674b
commit 76138dbc02
9 changed files with 38 additions and 23 deletions

View File

@@ -34,6 +34,10 @@ class YtDlpManager:
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
self.info = ydl.extract_info(self.url, download=False)
@property
def id(self):
return self.info.get("id")
@property
def title(self) -> str:
"""Возвращает title видео"""