mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-01 07:25:55 -08:00
18 lines
329 B
Python
18 lines
329 B
Python
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass
|
|
class Subtitle:
|
|
url: str
|
|
language: str | None = None
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class PlayerParams:
|
|
url: str
|
|
title: str
|
|
syncplay: bool = False
|
|
subtitles: list[Subtitle] | None = None
|
|
headers: dict[str, str] | None = None
|
|
start_time: str | None = None
|