MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / get_status

Method get_status

api/services/crawler_manager.py:195–203  ·  view source on GitHub ↗

Get current status

(self)

Source from the content-addressed store, hash-verified

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"""

Callers 2

get_crawler_statusFunction · 0.80
websocket_statusFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected