Skip to content

Usage Guide

This guide provides instructions on how to use MacScrape Web Analyzer effectively.

Basic Usage

To analyze a single website:

mac-scrape analyze https://example.com

To analyze multiple websites:

mac-scrape analyze https://example.com https://another-example.com

Advanced Usage

Custom Analysis Depth

Specify the analysis depth:

mac-scrape analyze --depth detailed https://example.com

Output Formatting

Save results in a specific format:

mac-scrape analyze --output json https://example.com

Concurrent Crawling

Set the number of concurrent connections:

mac-scrape analyze --concurrent 20 https://example.com

Analysis Workflow

sequenceDiagram
    participant User
    participant MacScrape
    participant Website
    participant Claude

    User->>MacScrape: Initiate analysis
    MacScrape->>Website: Crawl pages
    Website-->>MacScrape: Return HTML content
    MacScrape->>Claude: Send content for analysis
    Claude-->>MacScrape: Return analysis results
    MacScrape->>User: Present results

Interpreting Results

MacScrape provides a comprehensive analysis of the crawled websites. Here's how to interpret the results:

  1. Content Summary: Overview of the website's main topics and themes.
  2. Key Insights: Important points extracted from the content.
  3. Sentiment Analysis: Overall tone of the website (positive, negative, neutral).
  4. SEO Recommendations: Suggestions for improving search engine optimization.
  5. Data Visualizations: Graphs and charts representing various aspects of the analysis.

Example Output

{
  "url": "https://example.com",
  "summary": "E-commerce website selling electronics",
  "key_insights": [
    "Wide range of products",
    "Competitive pricing",
    "User-friendly interface"
  ],
  "sentiment": "Positive",
  "seo_recommendations": [
    "Improve meta descriptions",
    "Increase internal linking"
  ]
}

Troubleshooting

If you encounter issues:

  1. Check your internet connection
  2. Verify your API keys in the .env file
  3. Ensure the target website is accessible
  4. Check the logs: mac-scrape logs

For more help, consult our FAQ or open an issue.

Next Steps

Explore the Features section to learn about MacScrape's capabilities in detail.