Screenshot-scraper / README.md
yukee1992's picture
Update README.md
d5fd095 verified

A newer version of the Gradio SDK is available: 6.8.0

Upgrade
metadata
title: Screenshot Scraper
emoji: πŸ†
colorFrom: gray
colorTo: purple
sdk: gradio
sdk_version: 6.4.0
app_file: app.py
pinned: false

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference


title: Web Scraper for n8n emoji: 🌐 colorFrom: blue colorTo: green sdk: gradio sdk_version: 4.19.0 app_file: app.py pinned: false license: mit

Web Scraper for n8n

A simple web scraper API that extracts text from webpages, designed to work with n8n via HTTP requests.

Features

  • βœ… Extract text content from any webpage
  • βœ… BeautifulSoup for smart HTML parsing
  • βœ… Simple regex fallback
  • βœ… JSON API for n8n integration
  • βœ… Gradio web interface

Usage with n8n

  1. HTTP Request Node Configuration:

    • Method: POST
    • URL: https://your-username-space-name.hf.space/scrape
    • Body:
      {
        "url": "https://example.com"
      }
      
  2. Example Response:

    {
      "success": true,
      "url": "https://example.com",
      "execution_time": 0.45,
      "method": "beautifulsoup",
      "extracted_text": "...",
      "text_length": 1234
    }