1.0.2 • Published 9 months ago

platselectors v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

PlatSelectors PlatSelectors Logo

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
  • Reddit
  • ... (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.

  1. Fork the repository.
  2. Create a new branch.
  3. 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.

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago