1001fx - NoCode functions icon

1001fx - NoCode functions

1001fx is a set of functions for any automation platform. Our functions are simple, very well tested, scalable and offer features that most automation platforms do not offer.

Actions74

data → Get Content

AI-generated

Overview

The Get Content operation under the data resource in this custom n8n node is designed to scrape content from a specified website. By providing a website URL, users can retrieve the content of that page for further processing or automation within their workflows.

Common Scenarios:

  • Extracting text or data from web pages for analysis.
  • Automating the collection of information from multiple websites.
  • Integrating scraped web content into other systems or databases.

Practical Example:
A user wants to monitor changes on a news website. They can use this node to fetch the latest content from the site and trigger notifications if updates are detected.


Properties

Name Meaning
Website Website to be scraped. (URL as string)

Output

  • The output will be a JSON object containing the scraped content from the provided website.
  • The exact structure of the JSON depends on the response from the 1001fx API, but typically it will include fields such as the main content, metadata, or any extracted data from the target webpage.
  • No binary data is produced by this operation.

Dependencies

  • External Service: Requires access to the 1001fx API.
  • API Key: You must configure the 1001fxApi credential in n8n for authentication.
  • n8n Configuration: Ensure the node has internet access to reach the 1001fx API endpoint.

Troubleshooting

Common Issues:

  • Invalid URL: If the "Website" property is not a valid URL, the node may return an error or fail to fetch content.
  • Authentication Errors: Missing or incorrect API credentials will result in authentication failures.
  • Website Restrictions: Some websites may block scraping attempts or require additional headers/cookies.

Error Messages:

  • "error": "Request failed with status code 401" – Check your API key configuration.
  • "error": "Invalid URL" – Ensure the Website field contains a properly formatted URL.
  • "error": "Failed to fetch content" – The target website may be down, blocking requests, or otherwise inaccessible.

Links and References

Discussion