// Path: app/src/main/java/com/delsart/bookdownload/MsgType.java
// public interface MsgType {
//     int ERROR = 0;
//     int SUCCESS = 1;
//     int RESULT = 1;
//     int LOAD_MORE_VIEW = 2;
// }
// 
// Path: app/src/main/java/com/delsart/bookdownload/Url.java
// public interface Url {
//     String PC_AGENT = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36";
//     String MOBBILE_AGENT = "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A365 Safari/600.1.4";
// 
//     String ZHIXUAN = "http://www.zxcs8.com/?keyword=";
//     String ZHOUDU = "http://www.ireadweek.com/index.php/Index/bookList.html?keyword=";
//     String M360D = "http://www.360dxs.com/list.html?keyword=";
//     String SHUYUZHE = "https://book.shuyuzhe.com/search/";
//     String XIAOSHUWU = "http://mebook.cc/page/0?s=";
//     String QISHU = "http://zhannei.baidu.com/cse/search?s=2672242722776283010&nsid=&q=";
//     String AIXIA = "http://m.ixdzs.com/search?k=";
//     String BLAH = "http://blah.me/search?q=";
//     String DONGMANZHIJIA="http://s.acg.dmzj.com/lnovelsum/search.php?s=";
// }
// 
// Path: app/src/main/java/com/delsart/bookdownload/bean/DownloadBean.java
// public class DownloadBean {
//     String type;
// 
//     String url;
// 
//     public DownloadBean(String type, String url) {
//         this.type = type;
//         this.url = url;
//     }
// 
//     public DownloadBean() {
//     }
// 
//     public String getType() {
//         return type;
//     }
// 
//     public String getUrl() {
//         return url;
//     }
// }
// 
// Path: app/src/main/java/com/delsart/bookdownload/bean/NovelBean.java
// public class NovelBean {
//     private String name;
//     private String time;
//     private String info;
//     private String category;
//     private String status;
//     private String author;
//     private String words;
//     private String pic;
//     private String showText;
//     private String downloadFromUrl;
// 
//     public NovelBean(String name, String time, String info, String category, String status, String author, String words, String pic, String downloadFromUrl) {
//         this.name = name;
//         this.time = time;
//         this.info = info;
//         this.category = category;
//         this.status = status;
//         this.author = author;
//         this.words = words;
//         this.pic = pic;
//         this.downloadFromUrl = downloadFromUrl;
// 
//         this.showText = (author.equals("") ? "" : author + "\n") +
//                 (category.equals("") ? "" : category + "\n") +
//                 (words.equals("") ? "" : words + "\n") +
//                 (status.equals("") ? "" : status + "\n") +
//                 (time.equals("") ? "" : time + "\n") +
//                 (info.equals("") ? "\n" + "无简介" : "\n" + info);
//     }
// 
//     public String getDownloadFromUrl() {
//         return downloadFromUrl;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public String getTime() {
//         return time;
//     }
// 
//     public String getInfo() {
//         return info;
//     }
// 
//     public String getCategory() {
//         return category;
//     }
// 
//     public String getStatus() {
//         return status;
//     }
// 
//     public String getAuthor() {
//         return author;
//     }
// 
//     public String getWords() {
//         return words;
//     }
// 
//     public String getPic() {
//         return pic;
//     }
// 
// 
//     public String getShowText() {
//         return showText;
//     }
// }


import android.os.Handler;
import android.os.Message;
import com.delsart.bookdownload.MsgType;
import com.delsart.bookdownload.Url;
import com.delsart.bookdownload.bean.DownloadBean;
import com.delsart.bookdownload.bean.NovelBean;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.ArrayList;
import java.util.concurrent.CountDownLatch;
package com.delsart.bookdownload.service;





public class ZhouDuService extends BaseService {
    private static String TAG = "test";
    private final Handler mHandler;
    private int mPage;
    private String mBaseUrl;
    private CountDownLatch latch;
    private ArrayList<NovelBean> list = new ArrayList<>();

    public ZhouDuService(Handler handler, String keywords) {
// Path: app/src/main/java/com/delsart/bookdownload/MsgType.java
// public interface MsgType {
//     int ERROR = 0;
//     int SUCCESS = 1;
//     int RESULT = 1;
//     int LOAD_MORE_VIEW = 2;
// }
// 
// Path: app/src/main/java/com/delsart/bookdownload/Url.java
// public interface Url {
//     String PC_AGENT = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36";
//     String MOBBILE_AGENT = "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A365 Safari/600.1.4";
// 
//     String ZHIXUAN = "http://www.zxcs8.com/?keyword=";
//     String ZHOUDU = "http://www.ireadweek.com/index.php/Index/bookList.html?keyword=";
//     String M360D = "http://www.360dxs.com/list.html?keyword=";
//     String SHUYUZHE = "https://book.shuyuzhe.com/search/";
//     String XIAOSHUWU = "http://mebook.cc/page/0?s=";
//     String QISHU = "http://zhannei.baidu.com/cse/search?s=2672242722776283010&nsid=&q=";
//     String AIXIA = "http://m.ixdzs.com/search?k=";
//     String BLAH = "http://blah.me/search?q=";
//     String DONGMANZHIJIA="http://s.acg.dmzj.com/lnovelsum/search.php?s=";
// }
// 
// Path: app/src/main/java/com/delsart/bookdownload/bean/DownloadBean.java
// public class DownloadBean {
//     String type;
// 
//     String url;
// 
//     public DownloadBean(String type, String url) {
//         this.type = type;
//         this.url = url;
//     }
// 
//     public DownloadBean() {
//     }
// 
//     public String getType() {
//         return type;
//     }
// 
//     public String getUrl() {
//         return url;
//     }
// }
// 
// Path: app/src/main/java/com/delsart/bookdownload/bean/NovelBean.java
// public class NovelBean {
//     private String name;
//     private String time;
//     private String info;
//     private String category;
//     private String status;
//     private String author;
//     private String words;
//     private String pic;
//     private String showText;
//     private String downloadFromUrl;
// 
//     public NovelBean(String name, String time, String info, String category, String status, String author, String words, String pic, String downloadFromUrl) {
//         this.name = name;
//         this.time = time;
//         this.info = info;
//         this.category = category;
//         this.status = status;
//         this.author = author;
//         this.words = words;
//         this.pic = pic;
//         this.downloadFromUrl = downloadFromUrl;
// 
//         this.showText = (author.equals("") ? "" : author + "\n") +
//                 (category.equals("") ? "" : category + "\n") +
//                 (words.equals("") ? "" : words + "\n") +
//                 (status.equals("") ? "" : status + "\n") +
//                 (time.equals("") ? "" : time + "\n") +
//                 (info.equals("") ? "\n" + "无简介" : "\n" + info);
//     }
// 
//     public String getDownloadFromUrl() {
//         return downloadFromUrl;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public String getTime() {
//         return time;
//     }
// 
//     public String getInfo() {
//         return info;
//     }
// 
//     public String getCategory() {
//         return category;
//     }
// 
//     public String getStatus() {
//         return status;
//     }
// 
//     public String getAuthor() {
//         return author;
//     }
// 
//     public String getWords() {
//         return words;
//     }
// 
//     public String getPic() {
//         return pic;
//     }
// 
// 
//     public String getShowText() {
//         return showText;
//     }
// }


// Path: app/src/main/java/com/delsart/bookdownload/service/ZhouDuService.java
import android.os.Handler;
import android.os.Message;
import com.delsart.bookdownload.MsgType;
import com.delsart.bookdownload.Url;
import com.delsart.bookdownload.bean.DownloadBean;
import com.delsart.bookdownload.bean.NovelBean;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.util.ArrayList;
import java.util.concurrent.CountDownLatch;

package com.delsart.bookdownload.service;





public class ZhouDuService extends BaseService {
    private static String TAG = "test";
    private final Handler mHandler;
    private int mPage;
    private String mBaseUrl;
    private CountDownLatch latch;
    private ArrayList<NovelBean> list = new ArrayList<>();

    public ZhouDuService(Handler handler, String keywords) {
        super(handler, keywords);