Add favorite

This commit is contained in:
seven332 committed 2015-08-26 13:08:33 +08:00
1 parent 59c14245ee
commit ee7a3ac3b3
15 files changed
+855 -159

No files matched your search

@@ -81,6 +81,14 @@ class EhEngine {
}
}
/**
* @param cat -1 for all
*/
public static GalleryListParser.Result getFavorite(HttpClient httpClient,
HttpRequest httpRequest, int cat, int page, int source) throws Exception {
return getGalleryList(httpClient, httpRequest, EhUrl.getFavoriteUrl(source, cat, page), source);
}
public static PopularParser.Result getPopular(HttpClient httpClient,
HttpRequest httpRequest) throws Exception {
try {