1.0.2 • Published 9 months ago
platselectors v1.0.2
PlatSelectors
A centralized repository of platform-specific selectors for web scraping and automation. Whether you're using Puppeteer, Playwright, or any other web automation tool, PlatSelectors aims to simplify your scraping needs by providing up-to-date selectors for popular platforms.
Features
- Platform-Specific Selectors: Ready-to-use selectors for platforms like Amazon, eBay, Github, and more.
- Regular Updates: Community-driven updates to ensure selectors remain functional.
- Extendable: Easily contribute new platform selectors or update existing ones.
- Utility Functions: Helper functions and middleware for popular scraping tools.
Installation
npm install platselectors
Usage
const amazonSelectors = require('platselectors/amazon/com.json');
// Using Puppeteer or Playwright
await page.$(amazonSelectors.productPage.title);
Supported Platforms
- Amazon
- eBay
- Github
- Etsy
- TripAdvisor
- Booking
- ... (and many more to come)
Want to request a platform or update selectors? Open an issue!
Contributing
We welcome contributions from the community! Whether you're adding a new platform or updating an existing selector, every contribution helps.
- Fork the repository.
- Create a new branch.
- Make your changes and submit a pull request.
For detailed contribution guidelines, please see CONTRIBUTING.md.
Roadmap
- Add support for 50 more platforms by the end of 2023.
- Integrate middleware for Puppeteer and Playwright.
- Develop utility functions for common scraping tasks.
License
MIT License. See LICENSE for more details.