florent37 / rxretrojsoup Goto Github PK
View Code? Open in Web Editor NEWA simple API-like from html website (scrapper) for Android, RxJava2 ready !
License: Apache License 2.0
A simple API-like from html website (scrapper) for Android, RxJava2 ready !
License: Apache License 2.0
Any plans on supporting kotlin? it seems like it doesn't like kotlin pojo class.
It will be really great if you could add this to your milestone.
Can I using okhttp client?
Due to the structure change of website https://android-arsenal.com/, RetroJsoup
will parse the content as an empty list of Project
.
Error:(24, 52) error: cannot access Observable
class file for rx.Observable not found
I found error this one.
gradle
compile 'com.github.florent37:retrojsoup:1.0.3'
compile 'com.github.florent37:rxjsoup:1.0.3'
annotationProcessor 'com.github.florent37:retrojsoup-compiler:1.0.3'
I download your sample apk in android-arsenal, but i think its not work. i cant see image
How to set up User-Agent
thx
May you give an demo show how to use all annotations in library ,like how to use @JsoupAttr
and how to get multiple <p>
text inside <div>
?
help wanted.
How can I set field property as nullable.
Im my case on some web page in list of items one field in not requaired.
If I add this field I recieve not all available items.
RxJava 2 revision pattern is 'io.reactivex.rxjava2:rxjava:x.y.z'
In README.md is compile 'io.reactivex:rxjava:2.0.7'
public class TrendingRetroJsoup implements Trending {
private final RxJsoup rxJsoup;
public TrendingRetroJsoup(String url, Boolean exceptionIfNotFound) {
this.rxJsoup = new RxJsoup(url, exceptionIfNotFound);
}
Error:(15, 20) error: constructor RxJsoup in class RxJsoup cannot be applied to given types;
required: String,boolean,OkHttpClient
found: String,Boolean
reason: actual and formal argument lists differ in length
compile 'com.github.florent37:retrojsoup:1.0.2'
compile 'com.github.florent37:rxjsoup:1.0.2'
compile 'org.jsoup:jsoup:1.10.2'
compile 'io.reactivex:rxjava:1.2.7'
compile 'io.reactivex:rxandroid:1.2.1'
compile 'com.squareup.okhttp3:okhttp:3.6.0'
annotationProcessor 'com.github.florent37:retrojsoup-compiler:1.0.0'
I create junit test case and have compilation error.
Execution failed for task ':app:compileDebugUnitTestJavaWithJavac'.
If I delete test case an paste code in activity all works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.