Pure Swift HTML Parser, with best of DOM, CSS, and jquery
What is SwiftSoup?
SwiftSoup is a pure Swift library, cross-platform (macOS, iOS, tvOS, watchOS and Linux!), for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jQuery-like methods. SwiftSoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.
Features:
- Scrape and parse HTML from a URL, file, or string
- Find and extract data, using DOM traversal or CSS selectors
- Manipulate the HTML elements, attributes, and text
- Clean user-submitted content against a safe white-list, to prevent XSS attacks
- Output tidy HTML SwiftSoup is designed to deal with all varieties of HTML found in the wild; from pristine and validating, to invalid tag-soup; SwiftSoup will create a sensible parse tree.
Overview
- Pricing: Free
- Resource Link: https://github.com/scinfu/SwiftSoup
- Resource Maker on Twitter: Nabil Chatbi
- Mobile Platform Destination: iOS Apps
- Mobile Platform Support: Native iOS
- Programming Languages: Swift
- CocoaPods: SwiftSoup
- Carthage: scinfu/SwiftSoup
- Swift Package Manager: https://github.com/scinfu/SwiftSoup.git
The team behind mobintouch
Website: https://www.mobintouch.com
Resources added 👉 3142