스크래핑 로직 점검 및 추가

This commit is contained in:
jaehwang committed 2026-04-30 11:58:52 +09:00
1 parent d930679e90
commit 0d3543d84d
18 files changed
+361 -43

No files matched your search

@@ -1,9 +1,10 @@
from pydantic import BaseModel
from models.status import AnalysisStatus
class Channels(BaseModel):
youtube: str | None = None
instagram: list[str] | str | None = None
instagram: str | None = None
facebook: str | None = None
naver_blog: str | None = None
gangnam_unni: str | None = None
@@ -24,14 +25,14 @@ class AnalysisCreate(BaseModel):
class AnalysisStartResponse(BaseModel):
analysis_run_id: str
clinic_id: str
status: str
status: AnalysisStatus
estimated_seconds: int
poll_url: str
class AnalysisStatusResponse(BaseModel):
analysis_run_id: str
status: str
status: AnalysisStatus
progress: float
current_step: str
channel_errors: dict
View File
Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+15
View File
@@ -0,0 +1,15 @@
from enum import StrEnum
class AnalysisStatus(StrEnum):
DISCOVERING = "discovering"
COLLECTING = "collecting"
ANALYZING = "analyzing"
COMPLETED = "completed"
FAILED = "failed"
class TaskStatus(StrEnum):
START = "start"
PROCESSING = "processing"
DONE = "done"