jina-ai / reader

Convert any URL to an LLM-friendly input with a simple prefix https://r.jina.ai/
https://jina.ai/reader
Apache License 2.0
6.41k stars 496 forks source link

ambiguous `status` value #99

Closed abhishekrp-ai2002 closed 4 weeks ago

abhishekrp-ai2002 commented 1 month ago
{
  "code": 200,
  "status": 20000,
  "data": {
    "title": "Firecrawl",
    "url": "https://firecrawl.dev/",
    "content": <content scraped >,
    "links": {
      "Smart Crawl!": "https://www.firecrawl.dev/smart-crawl",
      "Skip to content": "https://www.firecrawl.dev/#skip",
      "🔥": "https://www.firecrawl.dev/",
      "Playground": "https://www.firecrawl.dev/playground",
      "Docs": "https://docs.firecrawl.dev/",
      "Pricing": "https://www.firecrawl.dev/pricing",
      "Blog": "https://www.firecrawl.dev/blog",
      "Get Started": "https://www.firecrawl.dev/signin",
      "Try it out": "https://www.firecrawl.dev/signin/signup",
      "Talk to us": "https://calendly.com/d/cj83-ngq-knk/meet-firecrawl",
      "Mendable": "https://mendable.ai/",
      "Check out our repo": "https://github.com/mendableai/firecrawl",
      "@GregKamradt": "https://twitter.com/GregKamradt/status/1780300642197840307",
      "@suprgeek": "https://twitter.com/suprgeek/status/1780338213351035254",
      "@jerryjliu0": "https://twitter.com/jerryjliu0/status/1781122933349572772",
      "@thepericulum": "https://twitter.com/thepericulum/status/1781397799487078874",
      "@latentsauce": "https://twitter.com/latentsauce/status/1781738253927735331",
      "@AlexReibman": "https://twitter.com/AlexReibman/status/1780299595484131836",
      "@michael_chomsky": "https://www.firecrawl.dev/#",
      "@palebluepaul": "https://twitter.com/palebluepaul",
      "scrape": "https://docs.firecrawl.dev/api-reference/endpoint/scrape",
      "crawl": "https://docs.firecrawl.dev/api-reference/endpoint/crawl",
      "Status": "https://firecrawl.betteruptime.com/",
      "Terms of ServiceTerms of Service": "https://www.firecrawl.dev/terms-of-service",
      "Privacy PolicyPrivacy Policy": "https://www.firecrawl.dev/privacy-policy",
      "Twitter": "https://twitter.com/mendableai",
      "GitHub": "https://github.com/mendableai",
      "Discord": "https://discord.gg/gSmWdAkdwd",
      "Brand Kit": "https://www.firecrawl.dev/#0"
    }
  }
}

is the value assigned to the status key correct ? 2000 seems to be vague

mapleeit commented 4 weeks ago

It's correct, that's a internal status code. If you're looking for the standard http code, the code is what you need.