πŸ“§ Email, πŸ“ž Phone, πŸ‘₯ Social - Lead Finder avatar
πŸ“§ Email, πŸ“ž Phone, πŸ‘₯ Social - Lead Finder
Try for free

1 day trial then $10.00/month - No credit card required now

View all Actors
πŸ“§ Email, πŸ“ž Phone, πŸ‘₯ Social - Lead Finder

πŸ“§ Email, πŸ“ž Phone, πŸ‘₯ Social - Lead Finder

giovannibiancia/website-actor
Try for free

1 day trial then $10.00/month - No credit card required now

Designed to solve your contact information needs by effortlessly extracting valuable data from websites. Whether you're struggling with collecting accurate email addresses, phone numbers, or social media profiles, our scraper provides the solution.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "start_urls": [
11        {
12            "url": "https://www.castellolaleccia.com"
13        },
14        {
15            "url": "https://www.casabianca.it"
16        },
17        {
18            "url": "https://poderebellaria.it"
19        },
20        {
21            "url": "https://poderefornaci.it"
22        }
23    ]
24};
25
26(async () => {
27    // Run the Actor and wait for it to finish
28    const run = await client.actor("giovannibiancia/website-actor").call(input);
29
30    // Fetch and print Actor results from the run's dataset (if any)
31    console.log('Results from dataset');
32    console.log(`πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
33    const { items } = await client.dataset(run.defaultDatasetId).listItems();
34    items.forEach((item) => {
35        console.dir(item);
36    });
37})();
38
39// πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 8 monthly users
  • 1 star
  • 96.3% runs succeeded
  • Created in Jun 2024
  • Modified 2 days ago