MCPcopy
hub / github.com/firecrawl/firecrawl / parse

Method parse

apps/python-sdk/firecrawl/client.py:319–333  ·  view source on GitHub ↗

Parse an uploaded file via the v2 parse endpoint.

(
        self,
        file: Union[str, Path, bytes, bytearray, BinaryIO],
        *,
        filename: Optional[str] = None,
        content_type: Optional[str] = None,
        options: Optional[ParseOptions] = None,
    )

Source from the content-addressed store, hash-verified

317 self.check_batch_scrape_errors = self._v2_client.check_batch_scrape_errors
318
319 def parse(
320 self,
321 file: Union[str, Path, bytes, bytearray, BinaryIO],
322 *,
323 filename: Optional[str] = None,
324 content_type: Optional[str] = None,
325 options: Optional[ParseOptions] = None,
326 ) -> Document:
327 """Parse an uploaded file via the v2 parse endpoint."""
328 return self._v2_client.parse(
329 file,
330 filename=filename,
331 content_type=content_type,
332 options=options,
333 )
334
335class AsyncFirecrawl:
336 """Async unified Firecrawl client (v2 by default, v1 under ``.v1``)."""

Callers 15

parseMethod · 0.45
isIPPrivateFunction · 0.45
logview.jsFile · 0.45
config.tsFile · 0.45
setCachedACUCFunction · 0.45
resolveOAuthTokenFunction · 0.45
getACUCFunction · 0.45
setCachedACUCTeamFunction · 0.45
getACUCTeamFunction · 0.45
scrapeHelperFunction · 0.45
crawlControllerFunction · 0.45
crawlMonitorControllerFunction · 0.45

Calls

no outgoing calls

Tested by 2

getLogsFunction · 0.36
fetchImplFunction · 0.36