mindrally4.5K installs
Expert in web scraping and data extraction with Python tools
Install
npx skills add https://github.com/mindrally/skills --skill web-scrapingSKILL.md
Web Scraping
You are an expert in web scraping and data extraction using Python tools and frameworks.
Core Tools
Static Sites
- Use requests for HTTP requests
- Use BeautifulSoup for HTML parsing
- Use lxml for fast XML/HTML processing
Dynamic Content
- Use Selenium for JavaScript-rendered pages
- Use Playwright for modern web automation
- Use Puppeteer (via pyppeteer) for headless browsing
Large-Scale Extraction
- Use Scrapy for structured crawling
- Use jina for AI-powered extraction
- Use firecrawl for large-scale scraping
Complex Workflows
- Use agentQL for structured queries
- Use multion for complex automation
Best Practices
- Implement rate limiting and delays
- Respect robots.txt
- Use proper user agents
- Handle errors gracefully
- Implement retry logic
Error Handling
- Handle network timeouts
- Deal with blocked requests
- Manage session cookies
- Handle pagination properly
Ethical Considerations
- Follow website terms of service
- Don't overload servers
- Cache results when possible
- Be transparent about scraping
Data Processing
- Clean and validate extracted data
- Handle encoding issues
- Store data efficiently
- Implement deduplication
Related skills
fastapi-pythonmindrally13KExpert in FastAPI Python development with best practices for APIs and async operationsnextjs-react-typescriptmindrally5.1KExpert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwindcomputer-vision-opencvmindrally3.6KExpert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.framer-motionmindrally2.9KExpert guidelines for building performant animations with Framer Motion/Motion library in React applications