Get current status
(self)
| 193 | return True |
| 194 | |
| 195 | def get_status(self) -> dict: |
| 196 | """Get current status""" |
| 197 | return { |
| 198 | "status": self.status, |
| 199 | "platform": self.current_config.platform.value if self.current_config else None, |
| 200 | "crawler_type": self.current_config.crawler_type.value if self.current_config else None, |
| 201 | "started_at": self.started_at.isoformat() if self.started_at else None, |
| 202 | "error_message": None |
| 203 | } |
| 204 | |
| 205 | def _build_command(self, config: CrawlerStartRequest) -> list: |
| 206 | """Build main.py command line arguments""" |
no outgoing calls
no test coverage detected