Deep Email Web Scraper avatar

Deep Email Web Scraper

Try for free

Pay $8.00 for 1,000 emails

Go to Store
Deep Email Web Scraper

Deep Email Web Scraper

peterasorensen/snacci
Try for free

Pay $8.00 for 1,000 emails

Deep Email Web Scraper efficiently extracts email addresses from multiple websites. It intelligently crawls main pages and relevant subpages, detects various email formats, removes duplicates, and provides structured output. Perfect for lead generation and contact database building.

DD

Issue with Dynamic Input Configuration in Deep Email Web Scraper Actor

Closed

dadegen87 opened this issue
19 days ago

Hello!

I’m using your Deep Email Web Scraper Actor to scrape emails from websites, but I’m experiencing an issue with how it handles dynamic input.

I’m sending input via TaskMagic, which extracts URLs from a database and passes them to the Actor in a JSON payload like this:

json { "input": { "websites": ["https://example.net/"] } }

While TaskMagic sends the data correctly, the Actor ignores the dynamic input and instead processes the static placeholder (http://placeholder.com) defined in the Actor’s input configuration:

json { "removeDuplicateEmails": true, "websites": ["http://placeholder.com"] }

Apify doesn’t allow leaving the websites field empty, so I used a placeholder. However, the logs show the Actor is using the placeholder instead of the URLs passed dynamically:

plaintext websites: [ 'http://placeholder.com' ] 'input.websites': [ 'https://example.net/' ]

Could you please help me understand how to make the Actor process the dynamically passed input.websites instead of the placeholder?

Thank you for your support!

peterasorensen avatar

Hi there! Sorry for the delay here. I am unable to view your test run, as it seems to be under your private account. That being said, I'd have to guess this is a simple malformed JSON. I don't know the specifics of TaskMagic and if there's any wrappers there, but as for my own runs on this Actor, I don't need a top level "input" key. So instead of:

1{
2  "input": {
3    "removeDuplicateEmails": true,
4    "websites": [
5      "https://www.southampton.ac.uk/people"
6    ]
7  }
8}

just

1{
2  "removeDuplicateEmails": true,
3  "websites": [
4    "https://www.southampton.ac.uk/people"
5  ]
6}

sould be good enough.

peterasorensen avatar

Closing this due to inactivity.

Developer
Maintained by Community

Actor Metrics

  • 41 monthly users

  • 4 stars

  • 94% runs succeeded

  • 7.5 days response time

  • Created in Oct 2024

  • Modified 6 days ago