stealthy-google-search
بواسطة itzsubhadip
Browser & Automationموجز
Google search via Scrapling’s StealthyFetcher/StealthySession.
الوصف
ما الذي تفعله هذه المهارة
Runs Google searches using Scrapling's stealth browser fetcher and returns the top result titles and URLs. Ships a self-contained install script that sets up a local Python venv with Scrapling and Playwright browsers. Output can be plain text or JSON.
Uses a stealth browser fetcher to reduce the chance of blocks that affect standard HTTP-based scrapers.
متى تستخدمها
- Scraping Google search results from a script or agent
- Fetching top links for a keyword without using the official Search API
- Automating research queries that return structured URL lists
- Comparing search results across regions using --gl and --hl flags
- Feeding search results into a downstream pipeline as JSON
مثال على سير العمل
User asks: find the top 5 links for 'open source LLM frameworks' in English
- 1
Run install.sh to set up the venv and Playwright browsers if not already done
- 2
Execute google_search.py with --query 'open source LLM frameworks' --top 5 --hl en
- 3
Parse the printed output or capture JSON with --json flag
- 4
Return the list of titles and URLs to the user
A list of 5 result titles and their corresponding Google search URLs
المتطلبات
- Python 3.10 or higher
- Disk space for Playwright browser binaries (downloaded during install)
التثبيت
clawhub install itzsubhadip/stealthy-google-searchشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.