This Actor allows you to quickly run arbitrary JavaScript code in a real Node.js environment, making it ideal for testing, debugging, or executing small scripts without setting up a local Node.js instance. The actor spawns a separate Node.js process to run the provided code and captures the logs.
This Apify actor allows you to quickly run arbitrary JavaScript code in a real Node.js environment, making it ideal for testing, debugging, or executing small scripts without setting up a local Node.js instance. The actor spawns a separate Node.js process to run the provided code, captures the logs (stdout and stderr), and saves them to Apify's Key-Value Store for later retrieval.
The input should be a JSON object with the following structure:
1{ 2 "code": "<your JavaScript code here>" 3}
code
(string, required): The JavaScript code to execute.1{ 2 "code": "console.log('Hello, world!');" 3}
The output logs from the executed code are saved in the Key-Value Store under the key LOGS
. The logs include both stdout
and stderr
streams, as well as the exit code of the process.
1[ 2 "STDOUT: Hello, world!\n", 3 "Child process exited with code 0" 4]
1{ 2 "code": "console.log('The current date is:', new Date().toISOString());" 3}
1[ 2 "STDOUT: The current date is: 2024-12-12T10:00:00.000Z\n", 3 "Child process exited with code 0" 4]
After the actor runs, you can fetch the logs using the Apify SDK or API:
In the actor run details, navigate to the Key-Value Store section and find the LOGS
key.
1const logs = await Actor.getValue('LOGS'); 2console.log('Retrieved Logs:', logs);
curl -X GET "https://api.apify.com/v2/key-value-stores/{storeId}/records/LOGS"
Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.
No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!