Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 2.24 KB

README.md

File metadata and controls

59 lines (42 loc) · 2.24 KB

🖐🏻 UiScraper

UiScraper is a user-friendly web application that simplifies the process of extracting data from websites. Built with Next.js, it provides an intuitive interface for defining selectors and effortlessly scraping the desired content.

✨Features

  • Visual Selector Creation: Easily define CSS selectors to target specific elements on a webpage.
  • Nested Selectors: Support for extracting data from nested elements within a parent container.
  • Array Extraction: Efficiently scrape lists of data by defining selectors as arrays.
  • Attribute Targeting: Option to extract specific attributes (e.g., 'src', 'href') from selected elements.
  • Real-time Preview: Instantly see the scraped data as you adjust your selectors.
  • Code Generation: Generate code snippets in popular languages (e.g., Python, Node.js) for easy integration into your projects.

🚀 Getting Started

  1. Clone the repository:
git clone https://github.com/abdrahiman/uiscraper.git
  1. Install dependencies:
cd uiscraper && npm install
  1. Start the development server:
npm run dev
  1. Open your browser and visit http://localhost:3000

👀 Preview

image

Demo: https://uiscraper.vercel.app

📙 Usage

  1. Enter the URL of the website you want to scrape.
  2. Use the visual selector tool to highlight the elements you want to extract data from.
  3. Configure the selectors by specifying their names, types (array or single), and optional attributes.
  4. Click "Scrape" to preview the extracted data.
  5. Copy the generated code snippet to integrate the scraping logic into your own applications.

💻 Technologies Used

  • Next.js: React framework for server-side rendering and static site generation.
  • Tailwind CSS: Utility-first CSS framework for rapid UI development.
  • jsdom: Fast and flexible HTML parser for Node.js.

🤗 Contributing

Contributions are welcome! If you find any bugs or have suggestions for new features, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Give a ⭐️ if this project helped you :)