Esempio n. 1
0
  @Override
  protected Request searchMangaRequest(MangasPage page, String query) {
    if (page.page == 1) {
      page.url = getInitialSearchUrl(query);
    }

    FormBody.Builder form = new FormBody.Builder();
    form.add("authorArtist", "");
    form.add("mangaName", query);
    form.add("status", "");
    form.add("genres", "");

    return ReqKt.post(page.url, getRequestHeaders(), form.build());
  }
Esempio n. 2
0
 @Override
 protected Request imageRequest(Page page) {
   return ReqKt.get(page.getImageUrl());
 }
Esempio n. 3
0
 @Override
 protected Request pageListRequest(String chapterUrl) {
   return ReqKt.post(getBaseUrl() + chapterUrl, getRequestHeaders());
 }