Powerful scraper for training agents by extracting and processing web content efficiently.
2.2K
The Serenity* Star Scraper is a specialized web scraping tool designed to extract and process a wide range of web content, including HTML pages and RSS feeds. As a central feature of the Serenity* AI Hub Platform, this Dockerized tool is made available to users, clients, and the broader community to enhance the training of AI agents by transforming web data into actionable insights.
This solution simplifies the execution of web scraping tasks, eliminating the need for complex setup and dependency management. While the underlying code remains proprietary, the Docker image enables you to seamlessly integrate this tool into your local environment and data pipelines.
Key Use Cases:
How to Use:
Pull the Docker image:
To get started, pull the latest Docker image from the Serenity* Star repository:
docker pull serenitystar/scraper:latest
Run the container:
Execute the Docker container with your specified parameters to start scraping:
docker run --rm -it \
-v /path/to/local/output:/app/output \
serenitystar/scraper:latest \
--url "https://example.com" \
-n 10 \
--outputPath /app/output
--url <URL>: (Required) The URL to start scraping from.-c <ContentFileName>: (Optional) The name of the file where content will be saved. Defaults to content.md.-n <MaxPages>: (Optional) The maximum number of pages to scrape. Defaults to 10.--outputPath <OutputPath>: (Optional) The directory where the output files will be saved. Defaults to results.--minLengthForEquality <MinLength>: (Optional) Minimum length of content to consider for equality when processing pages. Defaults to 50.--separator <Separator>: (Optional) Separator string used between different content sections in the output file. Defaults to "%%%%%%%----////////\\\\\\\\\\\\\\\\----%%%%%%%.--downloadableExtensions <Extensions>: (Optional) Comma-separated list of file extensions that should be downloaded during scraping. Defaults to .pdf,.doc,.docx,.txt,.csv,.xls,.xlsx,.ppt,.pptx.--urlParameter <Parameter>: (Optional) URL parameter to add to every URL that is scraped.--urlParameterValue <Value>: (Optional) Value for the URL parameter specified by --urlParameter.--treatParametersAsDifferent <true|false>: (Optional) Treat URLs with different parameters as different pages. Defaults to true.Check the output:
After the scraping process is complete, check the output in your specified directory to review the extracted data.
Supported Platforms:
License: MIT License
Documentation: Serenity* Star Docs (https://docs.serenitystar.ai)
Support Channels: Join Serenity* Star Discord Channel! https://discord.com/invite/SrT3xP7tS8
More info: Serenity* Star Ecosystem (https://serenitystar.ai)
Copyright: 2024 - Subgen AI (https://subgen.ai)
Content type
Image
Digest
sha256:5af69b354…
Size
803.3 MB
Last updated
8 months ago
docker pull serenitystar/scraper