S
scrapedo-web-scraper
About scrapedo-web-scraper
A skill that fetches web pages through the Scrape.do API when a regular fetch is blocked or cannot handle JavaScript. It can return page text or the original HTML through a command-line script or Python function.
Key features
- 01Fetch pages through Scrape.do API
- 02Return page text or HTML
- 03Use from CLI or Python
- 04Report access and token errors
Use cases
- 01Retrieve a page blocked from ordinary fetching
- 02Fetch content from JavaScript-rendered pages
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ artwist-polyakov/ polyakov-claude-skills --skill scrapedo-web-scraperAfter installing, type/scrapedo-web-scraperin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
.gitignoreconfig/README.mdtoken.txt.examplescripts/scrape.pyDetails
From the project READMEScrape.do Web Scraper
Скрапинг веб-страниц через Scrape.do API. Используй когда обычный fetch не работает (блокировка, JavaScript).
Использование
# Получить текст страницы
python scripts/scrape.py https://example.com
# Получить HTML
python scripts/scrape.py --html https://example.com
Из Python
from scripts.scrape import fetch_via_scrapedo
result = fetch_via_scrapedo('https://example.com')
if result['success']:
print(result['content']) # текст
# result['html'] — оригинальный HTML
else:
print(result['content']) # описание ошибки
Результат
- Успех: текст страницы (или HTML с
--html) - Ошибка: понятное сообщение (нет токена / лимит / недоступно)
Если вернулась ошибка — страница недоступна через этот метод.
Comments
Markdown supported