πŸ”₯ Web Traffic Generator | πŸš€ WebRocket πŸš€

  • bebity/web-traffic-generator
  • Modified
  • Users 157
  • Runs 2.6k
  • Created by Author's avatarBebity

πŸš€πŸ’₯ Introducing WebRocket! πŸ’₯ Supercharge your website πŸ“ˆ, deep crawling πŸ•ΈοΈ, and robust error handling πŸ€–. Blast off with start URLs πŸš€, choose simultaneous visitors πŸ§‘πŸ»β€πŸ€β€πŸ§‘πŸ», and set visit numbers #️⃣. Customize the stay duration βŒ›, pick device types πŸ“±πŸ–₯οΈπŸ“Ÿ, and use residential proxies 🌍🏠

Free trial for 3 days

Then $15.00/month

No credit card required now

πŸ”₯ Web Traffic Generator | πŸš€ WebRocket πŸš€

Free trial for 3 days

Then $15.00/month

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://bebity.io"
    ]
};

(async () => {
    // Run the Actor and wait for it to finish
    const run = await client.actor("bebity/web-traffic-generator").call(input);

    // Fetch and print Actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();