feat(offline-downloads): implement offline download

This commit is contained in:
shiyu
2025-09-22 12:03:39 +08:00
parent 11c717e61d
commit 330e8fd72b
11 changed files with 630 additions and 8 deletions
+7
View File
@@ -0,0 +1,7 @@
from pydantic import BaseModel, HttpUrl, Field
class OfflineDownloadCreate(BaseModel):
url: HttpUrl
dest_dir: str = Field(..., min_length=1)
filename: str = Field(..., min_length=1)