FLUTTER ECOSYSTEM

beautiful_soup_dart

Dart native package inspired by Beautiful Soup 4 Python library. Provides easy ways of navigating, searching, and modifying the HTML tree.

Latest version
0.3.0
30-day downloads
2.6K
Likes
112
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Dart-native HTML parsing library inspired by Python's Beautiful Soup 4. It enables effortless navigation, searching, and modification of HTML documents through a simple and intuitive API. Ideal for extracting data from HTML content or manipulating DOM structures in Flutter and other Dart applications. The package supports all major platforms, including web, mobile, and desktop.

Use cases
  • Web scraping HTML content
  • Parsing dynamic HTML responses
  • Extracting structured data from web pages
  • Modifying HTML before rendering
  • Building static site generators
Key features
  • Intuitive CSS and tag selectors
  • Easy navigation through parent/child relationships
  • Support for text and attribute extraction
  • Flexible search methods (find, findAll)
  • Cross-platform compatibility
Suitable for
  • Developers parsing HTML in Flutter apps
  • Data extraction from web sources
  • Tools requiring DOM manipulation
  • Static site generation workflows
Considerations
  • Not optimized for large HTML files
  • Limited to parsing, not rendering HTML
  • Requires careful handling of malformed input
  • No built-in support for JavaScript execution
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add beautiful_soup_dart

Categories

Source repository

Related projects