SuperAPI AI Directory

scrapedo-web-scraper

Deployment & operations

View repository

Updated 10-15 19:57

About this skill

Scrape.do Web Scraper

Scraping web pages via the Scrape.do API. Use when a regular fetch does not work (blocking, JavaScript).

Usage

# Получить текст страницы
python scripts/scrape.py https://example.com

# Получить HTML
python scripts/scrape.py --html https://example.com

From Python

from scripts.scrape import fetch_via_scrapedo

result = fetch_via_scrapedo('https://example.com') if result['success']: print(result['content']) # text # result['html'] — original HTML else: print(result['content']) # error description


## Результат

- **Успех**: текст страницы (или HTML с `--html`)
- **Ошибка**: понятное сообщение (нет токена / лимит / недоступно)

Если вернулась ошибка — страница недоступна через этот метод.