त्वरित शुरुआत

Crawl API आपको एक ही कॉल के साथ वेब पेजों से मनचाहा डेटा निकालने देता है। यह quickstart आपको कुछ ही मिनटों में शून्य से आपके पहले परिणाम तक पहुँचाता है।

इंस्टॉलेशन

npm install @scrapeless-ai/sdk
pnpm add @scrapeless-ai/sdk

अपना पहला पेज स्क्रैप करें

import { ScrapingCrawl } from "@scrapeless-ai/sdk";
 
// Initialize the client
const client = new ScrapingCrawl({
  apiKey: "your-api-key", // Get your API key from https://scrapeless.com
});
 
(async () => {
  const result = await client.scrapeUrl("https://example.com");
 
  console.log(result);
})();

बस इतना ही — जॉब पूरा होने के बाद आपको पेज सामग्री वापस मिल जाएगी।

अगले कदम