RetroCrawler Reader

Annotation based Retrofit converter for HTML

Лицензия

Лицензия

Группа

Группа

com.github.annypatel.retrocrawler
Идентификатор

Идентификатор

reader
Последняя версия

Последняя версия

1.0.0-alpha1
Дата

Дата

Тип

Тип

jar
Описание

Описание

RetroCrawler Reader
Annotation based Retrofit converter for HTML
Ссылка на сайт

Ссылка на сайт

https://github.com/annypatel/RetroCrawler/
Система контроля версий

Система контроля версий

https://github.com/annypatel/RetroCrawler/

Скачать reader

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.annypatel.retrocrawler/reader/ -->
<dependency>
    <groupId>com.github.annypatel.retrocrawler</groupId>
    <artifactId>reader</artifactId>
    <version>1.0.0-alpha1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.annypatel.retrocrawler/reader/
implementation 'com.github.annypatel.retrocrawler:reader:1.0.0-alpha1'
// https://jarcasting.com/artifacts/com.github.annypatel.retrocrawler/reader/
implementation ("com.github.annypatel.retrocrawler:reader:1.0.0-alpha1")
'com.github.annypatel.retrocrawler:reader:jar:1.0.0-alpha1'
<dependency org="com.github.annypatel.retrocrawler" name="reader" rev="1.0.0-alpha1">
  <artifact name="reader" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.annypatel.retrocrawler', module='reader', version='1.0.0-alpha1')
)
libraryDependencies += "com.github.annypatel.retrocrawler" % "reader" % "1.0.0-alpha1"
[com.github.annypatel.retrocrawler/reader "1.0.0-alpha1"]

Зависимости

runtime (1)

Идентификатор библиотеки Тип Версия
com.github.annypatel.retrocrawler : core jar 1.0.0-alpha1

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

RetroCrawler

RetroCrawler provides Retrofit converters for deserializing Html using jspoon and jsoup-annotations. Both of them internally uses Jsoup.

Jspoon Converter

A default Jspoon instance will be created or one can be configured and passed to the RetroCrawlerJSpoonConverterFactory to further control the deserialization. For more information on how to use Jspoon annotations refer this.

Download

implementation 'com.github.annypatel.retrocrawler:converter-jspoon:1.0.0-alpha1'

Usage

To use RetroCrawler Jspoon converter, just add converter when building your Retrofit instance.

Retrofit retrofit = new Retrofit.Builder()
	.baseUrl("https://api.example.com")
	.addConverterFactory(RetroCrawlerJSpoonConverterFactory.create())
	.build();

Jsoup-Annotations Converter

JsoupProcessor class from jsoup-annotations will be used by RetroCrawlerJSoupAnnotationConverterFactory for Html deserialization. For more information on how to use jsoup-annotations refer this.

Download

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
    implementation 'com.github.annypatel.retrocrawler:converter-jsoup-annotations:1.0.0-alpha1'
}

Usage

To use RetroCrawler Jsoup-Annotations converter, just add converter when building your Retrofit instance.

Retrofit retrofit = new Retrofit.Builder()
	.baseUrl("https://api.example.com")
	.addConverterFactory(RetroCrawlerJSoupAnnotationConverterFactory.create())
	.build();

Версии библиотеки

Версия
1.0.0-alpha1