How to Use Content Grabber 2.38.3 Premium Edition to Scrape Data from Any Website
Content Grabber is a powerful web scraping tool that can extract data from any website and store it in a structured format. Whether you need to collect market intelligence, monitor competitors, aggregate content, or integrate data from legacy applications, Content Grabber can help you automate the process and save time and money.
In this article, we will show you how to use Content Grabber 2.38.3 Premium Edition, the most feature-rich version of the software, to create and run web scraping agents that can handle any web page scenario. You will learn how to:
Use the visual agent editor to configure commands and actions
Use the API and the Script Library to customize your agents
Use the display templates to change the appearance of your agents
Distribute and run your agents royalty-free
Using the Visual Agent Editor
The visual agent editor is the main interface of Content Grabber, where you can create and edit web scraping agents. The agent editor automatically detects and configures the required commands for each web page element that you select. You can also manually fine-tune the commands to suit your needs.
The agent editor consists of three main panels:
The Browser Panel, where you can navigate and interact with websites as you would with a normal web browser.
The Command Panel, where you can view and edit the commands that make up your agent.
The Data Panel, where you can view and edit the data that your agent extracts.
To create a new agent, you need to follow these steps:
Enter the URL of the website that you want to scrape in the Browser Panel.
Select the elements that you want to extract or interact with on the web page. Content Grabber will automatically create commands for each element and add them to the Command Panel.
Adjust the command properties and options in the Command Panel as needed. You can also add new commands or delete existing ones.
Test your agent by clicking on the Run button in the toolbar. You can view the extracted data in the Data Panel.
Save your agent by clicking on the Save button in the toolbar.
Using the API and the Script Library
The API and the Script Library are features that are only available in Content Grabber 2.38.3 Premium Edition. They allow you to customize your agents with C# or VB.NET scripts that can access any .NET framework class or external library.
You can use scripts to perform various tasks, such as:
Manipulate data before or after extraction
Add logic and conditions to your commands
Handle errors and exceptions
Send notifications or alerts
Integrate with external databases or applications
To use scripts in your agent, you need to follow these steps:
Add a Script command to your agent from the Command Toolbar.
Select the script language (C# or VB.NET) and the script event (Before Execute, After Execute, etc.) in the Command Panel.
Write your script code in the Script Editor that opens up.
Save and close the Script Editor.
Test your agent by clicking on the Run button in the toolbar.
Using Display Templates
Display templates are HTML files that control how your agents look when they are distributed and run as standalone applications. You can use display templates to change the appearance of your agents, add branding elements, remove promotional messages, or add custom functionality.
To use display templates in your agent, you need to follow these steps:
Select a display template from the list of available templates in the Agent Options dialog box.
Edit the display template using any HTML editor of your choice. You can modify the HTML code, CSS styles, images, or scripts as needed.
Save your display template in the same folder as your agent file.
Distribute your agent by clicking on the Distribute button in the toolbar. You can choose to distribute your aa16f39245