All Projects → rdlopes → Webhere

rdlopes / Webhere

Licence: mit
HTML scraping for Objective-C.

Projects that are alternatives of or similar to Webhere

Fire
🔥A delightful HTTP/HTTPS networking framework for iOS/macOS/watchOS/tvOS platforms written in Swift.
Stars: ✭ 243 (+1418.75%)
Mutual labels:  osx, cocoapods
Xquery
Extract data or evaluate value from HTML/XML documents using XPath
Stars: ✭ 155 (+868.75%)
Mutual labels:  scraping, xpath
Ppnetworkhelper
AFNetworking 3.x 与YYCache封装
Stars: ✭ 1,586 (+9812.5%)
Mutual labels:  afnetworking, cocoapods
Pgnetworkhelper
PINCache做为AFNetworking缓存层,将AFNetworking请求的数据缓存起来,支持取消当前网络请求,以及取消所有的网络请求,除了常用的Get,Post方法,也将上传图片以及下载文件进行了封装,同样支持同步请求,使用方法极其简单。
Stars: ✭ 131 (+718.75%)
Mutual labels:  afnetworking, cocoapods
Tpinappreceipt
Reading and Validating In App Purchase Receipt Locally.
Stars: ✭ 305 (+1806.25%)
Mutual labels:  osx, cocoapods
Criollo
A powerful Cocoa web framework and HTTP server for macOS, iOS and tvOS.
Stars: ✭ 229 (+1331.25%)
Mutual labels:  osx, cocoapods
Afnetworking Retrypolicy
Nice category that adds the ability to set the retry interval, retry count and progressiveness.
Stars: ✭ 197 (+1131.25%)
Mutual labels:  afnetworking, cocoapods
Device
Light weight tool for detecting the current device and screen size written in swift.
Stars: ✭ 1,503 (+9293.75%)
Mutual labels:  osx, cocoapods
Netfox
A lightweight, one line setup, iOS / OSX network debugging library! 🦊
Stars: ✭ 3,188 (+19825%)
Mutual labels:  afnetworking, cocoapods
Hlnetworking
基于AFNetworking的高阶网络请求管理器
Stars: ✭ 276 (+1625%)
Mutual labels:  afnetworking, cocoapods
selectorlib
A library to read a YML file with Xpath or CSS Selectors and extract data from HTML pages using them
Stars: ✭ 53 (+231.25%)
Mutual labels:  scraping, xpath
Orsserialport
Serial port library for Objective-C and Swift macOS apps
Stars: ✭ 609 (+3706.25%)
Mutual labels:  osx, cocoapods
Xcake
🍰 Describe Xcode projects in a human readable format and (re)generate one on demand.
Stars: ✭ 549 (+3331.25%)
Mutual labels:  osx, cocoapods
Parsel
Parsel lets you extract data from XML/HTML documents using XPath or CSS selectors
Stars: ✭ 628 (+3825%)
Mutual labels:  scraping, xpath
Xlpagertabstrip
Android PagerTabStrip for iOS.
Stars: ✭ 6,671 (+41593.75%)
Mutual labels:  cocoapods
Stronghold
Easily configure macOS security settings from the terminal.
Stars: ✭ 813 (+4981.25%)
Mutual labels:  osx
Nimbus
The iOS framework that grows only as fast as its documentation
Stars: ✭ 6,496 (+40500%)
Mutual labels:  cocoapods
Cyltabbarcontroller
[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】
Stars: ✭ 6,605 (+41181.25%)
Mutual labels:  cocoapods
Traypingapp
📡 OSX tray application showing DNS and ping latency
Stars: ✭ 5 (-68.75%)
Mutual labels:  osx
Liko 12
LIKO-12 is an open source fantasy computer made using LÖVE.
Stars: ✭ 811 (+4968.75%)
Mutual labels:  osx

WebHere

CI Status Version License Platform

WebHere is an Objective-C framework for web scraping, packaged for iOS 8+ and OSX 10.10+ platforms.

Briefly put, web scraping is parsing of a website and extraction of data from the HTML pages contained in it.

This work has been inspired by RestKit, but aimed at HTML data and working in a simpler form (no mapping upfront, model classes declare their own building strategy); it is mostly relying on:

Those two projects really deserve attention on their own, make sure to visit their page and understand their APIs, as WebHere will mostly provide a unified facade to their APIs.

Features

  • Downloads HTML pages and extracts data into user-defined classes.
  • Allows the user to use XPath to query the HTML document.
  • Pre-defined methods to extract links and forms.
  • Tested.

Limitations

  • At this moment only GET and POST REST methods have been tested.
  • Please pay attention to the legal issues when peforming web scraping.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Having a look at the test cases provided should give you an overview of the API.

Example folder contains an iOS app that maps HTML to query Google.

Requirements

Dependencies are automatically managed by Cocoapod. In case you have to add WebHere to your source tree and use it outside Cocoapod, you must add the following projects along with WebHere:

Installation

WebHere is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "WebHere"

Alternatively, you can add these sources as a git submodule.

Author

Rui Lopes, [email protected]

License

WebHere is available under the MIT license. See the LICENSE file for more info.

Testing

Project has been covered by unit tests using:

Please notice that all tests are performed locally, meaning that no actual network access is needed, all requests being stubed by Nocilla.

Contributing

  1. Fork it
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].