scrapeless-actor-sdk-go

module
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2025 License: MIT

README ΒΆ

Scrapeless Actor SDK Go

English | δΈ­ζ–‡ζ–‡ζ‘£

The official Go SDK of Scrapeless AI - a powerful web scraping and browser automation platform that helps you extract data from any website at scale.

πŸ“‘ Table of Contents

🌟 Features

  • Browser Automation: Supports remote browser session operations.
  • Web Scraping: Extracts data from any website through intelligent parsing.
  • SERP Scraping: Extracts search engine results with high accuracy.
  • Proxy Management: Built-in proxy rotation and geolocation.
  • Actor System: Runs custom automation scripts in the cloud.
  • Storage Solutions: Provides persistent data storage for your scraping projects.

πŸ“¦ Installation

Install the SDK using go get:

go get -u github.com/scrapeless-ai/scrapeless-actor-sdk-go

πŸš€ Quick Start

Basic Setup
package main

import (
	scrapeless "github.com/scrapeless-ai/scrapeless-actor-sdk-go/scrapeless/actor"
)

func main() {
	// Initialize the actor
	actor := scrapeless.New()
	defer actor.Close()
}
Environment Variables

You can also configure the SDK using environment variables:

# Required
SCRAPELESS_API_KEY=your-api-key

# Optional - Custom API endpoints
SCRAPELESS_BASE_API_URL=https://api.scrapeless.com
SCRAPELESS_ACTOR_API_URL=https://actor.scrapeless.com
SCRAPELESS_STORAGE_API_URL=https://storage.scrapeless.com
SCRAPELESS_BROWSER_API_URL=https://browser.scrapeless.com
SCRAPELESS_CRAWL_API_URL=https://crawl.scrapeless.com

πŸ“– Usage Examples

Browser Automation
// Example code will be written according to the actual browser package.
// ... To be supplemented with specific code ...
Web Scraping
// Example code will be written according to the actual web scraping package.
// ... To be supplemented with specific code ...
SERP Scraping
// Example code will be written according to the actual SERP scraping package.
// ... To be supplemented with specific code ...
Actor System
// Example code will be written according to the actual Actor system package.
// ... To be supplemented with specific code ...

πŸ”§ API Reference

Available Services

The SDK provides the following services:

  • scrapeless.browser - Browser session management.
  • scrapeless.scraping - Web scraping and data extraction.
  • scrapeless.deepserp - Search engine result extraction.
  • scrapeless.universal - Universal data extraction.
  • scrapeless.proxies - Proxy management.
  • scrapeless.actor - Actor system for custom automation.
  • scrapeless.storage - Data storage solutions.
  • scrapeless.scrapingCrawl - Website crawling.
Error Handling
// Example code will be written according to the actual error handling logic.
// ... To be supplemented with specific code ...

πŸ“š Examples

Check the example directory for complete usage examples:

πŸ§ͺ Testing

Run the test suite:

go test ./...

The SDK includes comprehensive tests for all services and tools.

πŸ› οΈ Contribution & Development Guide

All forms of contributions are welcome! For detailed information on how to submit issues, PRs, code specifications, local development, etc., please refer to the Contribution & Development Guide.

Quick Start:

git clone https://github.com/your-repo-path/scrapeless-actor-sdk-go.git
cd scrapeless-actor-sdk-go
go mod tidy
go test ./...

Please replace github.com/your-repo-path with the actual repository path.

For more information on project structure, best practices, etc., please refer to CONTRIBUTING.md.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“ž Support

Please replace github.com/your-repo-path with the actual repository path.

🏒 About Scrapeless

Scrapeless is a powerful web scraping and browser automation platform that helps enterprises extract data from any website at scale. Our platform provides:

  • High-performance web scraping infrastructure.
  • Global proxy network.
  • Browser automation capabilities.
  • Enterprise-level reliability and support.

Visit scrapeless.com to learn more and get started.


Made with ❀️ by the Scrapeless team


        

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL