Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonhoo/javawebapi
Simple browser-like API in Java for accessing web pages
https://github.com/jonhoo/javawebapi
Last synced: about 1 month ago
JSON representation
Simple browser-like API in Java for accessing web pages
- Host: GitHub
- URL: https://github.com/jonhoo/javawebapi
- Owner: jonhoo
- Created: 2010-12-15T08:43:51.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2021-02-24T16:42:56.000Z (over 3 years ago)
- Last Synced: 2023-03-10T22:23:54.368Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 102 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
WebAPI is a Java library for interacting with dynamic web pages.
It provides methods for submitting forms (while retaining preset field values such as hidden fields and selects), downloading files and navigating using links.
It is built using XPath for element selection, the Apache HTTP Client for HTTP communication and JTidy for HTML parsing.
Together this makes up a solid, flexible and powerful toolkit for perfoming complex web scraping and testing.
By allowing WebAPI to submit forms and automatically detect default values, it can be used even past login pages with dynamic hidden fields, thus allowing quick development of applications that need to get access to data only available on password-protected websites.It is an almost direct port of the PHP Browser class here: https://github.com/Jonhoo/PHP-Browser