From 44b5ef9ce0f2c59b14db058c1067ad7bf2a7c877 Mon Sep 17 00:00:00 2001 From: byu Date: Sat, 29 Oct 2022 20:02:01 +0800 Subject: [PATCH] update book source --- bs.json | 446 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 223 insertions(+), 223 deletions(-) diff --git a/bs.json b/bs.json index a54689f..11af6a4 100644 --- a/bs.json +++ b/bs.json @@ -1,93 +1,18 @@ { "book_sources": [{ - "title": "御书网", - "host": "https://www.yushubo.com", - "query_url": "https://www.yushubo.com/search.html?ss=%s", - "query_method": 0, - "query_params": "", - "query_charset": 1, - "book_name_xpath": "//*[@id=\"content\"]/div/div/ul/li/div/h3/a", - "book_mainpage_xpath": "//*[@id=\"content\"]/div/div/ul/li/div/h3/a/@href", - "book_author_xpath": "//*[@id=\"content\"]/div/div/ul/li/div/p[2]", - "enable_chapter_page": 1, - "chapter_page_xpath": "//*[@id=\"content\"]/div/div[1]/div/div[2]/div[2]/div[2]/div/a[2]/@href", - "chapter_title_xpath": "/html/body/div[3]/div[1]/div[2]/div[2]/ul/li/span", - "chapter_url_xpath": "/html/body/div[3]/div[1]/div[2]/div[2]/ul/li/span/a/@href", - "enable_chapter_next": 0, - "chapter_next_url_xpath": "", - "chapter_next_keyword_xpath": "", - "chapter_next_keyword": "", - "content_xpath": "//*[@id=\"BookText\"]", - "enable_content_next": 1, - "content_next_url_xpath": "/html/body/div[3]/div[1]/div[4]/a[4]/@href", - "content_next_keyword_xpath": "/html/body/div[3]/div[1]/div[4]/a[4]", - "content_next_keyword": "下一页", - "content_filter_type": 0, - "content_filter_keyword": "" - }, { - "title": "巴巴鱼", - "host": "https://www.babayu.com", - "query_url": "https://www.babayu.com/soshu.html?ss=%s", - "query_method": 0, - "query_params": "", - "query_charset": 1, - "book_name_xpath": "//*[@id=\"content\"]/div/div/ul/li/div/h3/a", - "book_mainpage_xpath": "//*[@id=\"content\"]/div/div/ul/li/div/h3/a/@href", - "book_author_xpath": "//*[@id=\"content\"]/div/div/ul/li/div/p[2]", - "enable_chapter_page": 1, - "chapter_page_xpath": "//a[@class='catalogbtn']/@href", - "chapter_title_xpath": "//*[@class='chapter-bd']/ul/li/span/a", - "chapter_url_xpath": "//*[@class='chapter-bd']/ul/li/span/a/@href", - "enable_chapter_next": 0, - "chapter_next_url_xpath": "", - "chapter_next_keyword_xpath": "", - "chapter_next_keyword": "", - "content_xpath": "//*[@id=\"BookText\"]", - "enable_content_next": 1, - "content_next_url_xpath": "/html/body/div[3]/div[1]/div[7]/a[4]/@href", - "content_next_keyword_xpath": "/html/body/div[3]/div[1]/div[7]/a[4]", - "content_next_keyword": "下—页", - "content_filter_type": 0, - "content_filter_keyword": "" - }, { - "title": "360小说", - "host": "https://www.360xs.com", - "query_url": "https://www.360xs.com/search.html", - "query_method": 1, - "query_params": "searchkey=%s&searchtype=articlename&submit.x=21&submit.y=9", - "query_charset": 2, - "book_name_xpath": "//*[@id=\"article_info\"]/div[1]/a/h1", - "book_mainpage_xpath": "//*[@id=\"article_info\"]/div[1]/a/@href", - "book_author_xpath": "//*[@id=\"article_info_main\"]/div[2]/ul/li[1]/a", - "enable_chapter_page": 1, - "chapter_page_xpath": "//*[@id=\"articlea\"]/@href", - "chapter_title_xpath": "//*[@id=\"index_list_li1\"]/a", - "chapter_url_xpath": "//*[@id=\"index_list_li1\"]/a/@href", - "enable_chapter_next": 0, - "chapter_next_url_xpath": "", - "chapter_next_keyword_xpath": "", - "chapter_next_keyword": "", - "content_xpath": "//*[@id=\"read_content\"]", - "enable_content_next": 0, - "content_next_url_xpath": "", - "content_next_keyword_xpath": "", - "content_next_keyword": "", - "content_filter_type": 0, - "content_filter_keyword": "" - }, { - "title": "第一小说", - "host": "https://www.01xs.com", - "query_url": "https://www.01xs.com/search.php", + "title": "新笔趣阁", + "host": "https://www.xbiquge.la", + "query_url": "https://www.xbiquge.la/modules/article/waps.php", "query_method": 1, - "query_params": "keyword=%s", + "query_params": "searchkey=%s", "query_charset": 1, - "book_name_xpath": "/html/body/div[2]/div[2]/div[2]/ul/li[2]/a", - "book_mainpage_xpath": "/html/body/div[2]/div[2]/div[2]/ul/li[2]/a/@href", - "book_author_xpath": "/html/body/div[2]/div[2]/div[2]/ul/li[4]", + "book_name_xpath": "//*[@id=\"checkform\"]/table/tr[position()>1]/td[1]/a", + "book_mainpage_xpath": "//*[@id=\"checkform\"]/table/tr[position()>1]/td[1]/a/@href", + "book_author_xpath": "//*[@id=\"checkform\"]/table/tr[position()>1]/td[3]", "enable_chapter_page": 0, "chapter_page_xpath": "", - "chapter_title_xpath": "/html/body/div[2]/div[5]/ul/li/a", - "chapter_url_xpath": "/html/body/div[2]/div[5]/ul/li/a/@href", + "chapter_title_xpath": "//*[@id=\"list\"]/dl/dd/a", + "chapter_url_xpath": "//*[@id=\"list\"]/dl/dd/a/@href", "enable_chapter_next": 0, "chapter_next_url_xpath": "", "chapter_next_keyword_xpath": "", @@ -97,33 +22,33 @@ "content_next_url_xpath": "", "content_next_keyword_xpath": "", "content_next_keyword": "", - "content_filter_type": 1, - "content_filter_keyword": "pc01yd3();" + "content_filter_type": 0, + "content_filter_keyword": "" }, { - "title": "零点看书", - "host": "https://www.00ksw.com", - "query_url": "https://www.00ksw.com/search.php", - "query_method": 1, - "query_params": "keyword=%s", - "query_charset": 2, - "book_name_xpath": "//*[@id=\"author\"]/tr/td[1]/a", - "book_mainpage_xpath": "//*[@id=\"author\"]/tr/td[1]/a/@href", - "book_author_xpath": "//*[@id=\"author\"]/tr/td[3]", + "title": "笔趣阁yingsx", + "host": "https://www.yingsx.com", + "query_url": "http://www.yingsx.com/cse/search?q=%s&s=", + "query_method": 0, + "query_params": "", + "query_charset": 1, + "book_name_xpath": "//div[@class='novelslist2']/ul/li[position()>1]/span[2]/a", + "book_mainpage_xpath": "//div[@class='novelslist2']/ul/li[position()>1]/span[2]/a/@href", + "book_author_xpath": "//div[@class='novelslist2']/ul/li[position()>1]/span[4]", "enable_chapter_page": 0, "chapter_page_xpath": "", - "chapter_title_xpath": "//div[@class='ml_list']/ul/li/a", - "chapter_url_xpath": "//div[@class='ml_list']/ul/li/a/@href", + "chapter_title_xpath": "//div[@id='list']/dl/dd[position()>9]/a", + "chapter_url_xpath": "//div[@id='list']/dl/dd[position()>9]/a/@href", "enable_chapter_next": 0, "chapter_next_url_xpath": "", "chapter_next_keyword_xpath": "", "chapter_next_keyword": "", - "content_xpath": "//*[@id=\"articlecontent\"]", + "content_xpath": "//div[@id=\"content\"]", "enable_content_next": 0, "content_next_url_xpath": "", "content_next_keyword_xpath": "", "content_next_keyword": "", - "content_filter_type": 2, - "content_filter_keyword": "【告知书友.*" + "content_filter_type": 0, + "content_filter_keyword": "" }, { "title": "书快小说", "host": "https://www.shukuai.net", @@ -149,41 +74,16 @@ "content_next_keyword": "", "content_filter_type": 0, "content_filter_keyword": "" - }, { - "title": "笔趣阁yingsx", - "host": "https://www.yingsx.com", - "query_url": "http://www.yingsx.com/cse/search?q=%s&s=", - "query_method": 0, - "query_params": "", - "query_charset": 1, - "book_name_xpath": "//div[@class='novelslist2']/ul/li[position()>1]/span[2]/a", - "book_mainpage_xpath": "//div[@class='novelslist2']/ul/li[position()>1]/span[2]/a/@href", - "book_author_xpath": "//div[@class='novelslist2']/ul/li[position()>1]/span[4]", - "enable_chapter_page": 0, - "chapter_page_xpath": "", - "chapter_title_xpath": "//div[@id='list']/dl/dd[position()>9]/a", - "chapter_url_xpath": "//div[@id='list']/dl/dd[position()>9]/a/@href", - "enable_chapter_next": 0, - "chapter_next_url_xpath": "", - "chapter_next_keyword_xpath": "", - "chapter_next_keyword": "", - "content_xpath": "//div[@id=\"content\"]", - "enable_content_next": 0, - "content_next_url_xpath": "", - "content_next_keyword_xpath": "", - "content_next_keyword": "", - "content_filter_type": 0, - "content_filter_keyword": "" }, { "title": "中文阅读网", "host": "https://www.zwydw.org", - "query_url": "https://www.zwydw.org/s.php?ie=gbk&q=%s", + "query_url": "https://www.zwydw.org/s123.php?ie=gbk&q=%s", "query_method": 0, "query_params": "", "query_charset": 2, - "book_name_xpath": "//div[@class='type_show']/div/div/div[2]/h4/a", - "book_mainpage_xpath": "//div[@class='type_show']/div/div/div[2]/h4/a/@href", - "book_author_xpath": "//div[@class='type_show']/div/div/div[2]/div[2]", + "book_name_xpath": "//div[@class='bookinfo']/h4/a", + "book_mainpage_xpath": "//div[@class='bookinfo']/h4/a/@href", + "book_author_xpath": "//div[@class='author']", "enable_chapter_page": 0, "chapter_page_xpath": "", "chapter_title_xpath": "//div[@class='listmain']/dl/dd[position()>6]/a", @@ -200,49 +100,24 @@ "content_filter_type": 1, "content_filter_keyword": "♂?    ,," }, { - "title": "天天中文网", - "host": "http://www.ttzw.tv", - "query_url": "http://www.ttzw.tv/ar.php?keyWord=%s", + "title": "全小说", + "host": "https://quanxiaoshuo.com", + "query_url": "https://quanxiaoshuo.com/s_%s", "query_method": 0, "query_params": "", "query_charset": 1, - "book_name_xpath": "/html/body/div[3]/div/div/ul[1]/li[position()>1]/span[2]/a", - "book_mainpage_xpath": "/html/body/div[3]/div/div/ul[1]/li[position()>1]/span[2]/a/@href", - "book_author_xpath": "/html/body/div[3]/div/div/ul[1]/li[position()>1]/span[4]", + "book_name_xpath": "/html/body/div[3]/ul[position()>1]/li[1]/a", + "book_mainpage_xpath": "/html/body/div[3]/ul[position()>1]/li[1]/a/@href", + "book_author_xpath": "/html/body/div[3]/ul[position()>1]/li[3]/a", "enable_chapter_page": 0, "chapter_page_xpath": "", - "chapter_title_xpath": "//ul/ul/li/a", - "chapter_url_xpath": "//ul/ul/li/a/@href", - "enable_chapter_next": 0, - "chapter_next_url_xpath": "", - "chapter_next_keyword_xpath": "", - "chapter_next_keyword": "", - "content_xpath": "//div[@id=\"content\"]", - "enable_content_next": 0, - "content_next_url_xpath": "", - "content_next_keyword_xpath": "", - "content_next_keyword": "", - "content_filter_type": 0, - "content_filter_keyword": "" - }, { - "title": "丹书铁卷", - "host": "https://www.dstiejuan.com", - "query_url": "https://www.dstiejuan.com/search.html", - "query_method": 1, - "query_params": "searchkey=%s", - "query_charset": 1, - "book_name_xpath": "/html/body/div[3]/div/div[1]/ul/li/a[2]", - "book_mainpage_xpath": "/html/body/div[3]/div/div[1]/ul/li/a[2]/@href", - "book_author_xpath": "/html/body/div[3]/div/div[1]/ul/li/p[1]/a[1]", - "enable_chapter_page": 1, - "chapter_page_xpath": "/html/body/div[3]/div/div[2]/div[3]/div[1]/a/@href", - "chapter_title_xpath": "/html/body/div[3]/div/div[2]/div[2]/dl[2]/dd/a", - "chapter_url_xpath": "/html/body/div[3]/div/div[2]/div[2]/dl[2]/dd/a/@href", + "chapter_title_xpath": "/html/body/div[9]/div/a", + "chapter_url_xpath": "/html/body/div[9]/div/a/@href", "enable_chapter_next": 0, "chapter_next_url_xpath": "", "chapter_next_keyword_xpath": "", "chapter_next_keyword": "", - "content_xpath": "//div[@id=\"content\"]", + "content_xpath": "//*[@id=\"content\"]", "enable_content_next": 0, "content_next_url_xpath": "", "content_next_keyword_xpath": "", @@ -274,45 +149,20 @@ "content_next_keyword": "下一页", "content_filter_type": 0, "content_filter_keyword": "" - }, { - "title": "新笔趣阁", - "host": "https://www.xbiquge.la", - "query_url": "https://www.xbiquge.la/modules/article/waps.php", - "query_method": 1, - "query_params": "searchkey=%s", - "query_charset": 1, - "book_name_xpath": "//*[@id=\"checkform\"]/table/tr[position()>1]/td[1]/a", - "book_mainpage_xpath": "//*[@id=\"checkform\"]/table/tr[position()>1]/td[1]/a/@href", - "book_author_xpath": "//*[@id=\"checkform\"]/table/tr[position()>1]/td[3]", - "enable_chapter_page": 0, - "chapter_page_xpath": "", - "chapter_title_xpath": "//*[@id=\"list\"]/dl/dd/a", - "chapter_url_xpath": "//*[@id=\"list\"]/dl/dd/a/@href", - "enable_chapter_next": 0, - "chapter_next_url_xpath": "", - "chapter_next_keyword_xpath": "", - "chapter_next_keyword": "", - "content_xpath": "//*[@id=\"content\"]", - "enable_content_next": 0, - "content_next_url_xpath": "", - "content_next_keyword_xpath": "", - "content_next_keyword": "", - "content_filter_type": 2, - "content_filter_keyword": "亲.点击进去.*|手机站全新改版升级.*" }, { "title": "妙笔阁", - "host": "https://www.imiaobige.com", - "query_url": "https://www.imiaobige.com/search.html", - "query_method": 1, - "query_params": "searchkey=%s", + "host": "https://www.miaobige.com", + "query_url": "https://www.miaobige.com/so/result.html?searchtype=novelname&searchkey=%s", + "query_method": 0, + "query_params": "", "query_charset": 1, - "book_name_xpath": "//*[@id=\"sitembox\"]/dl/dd[1]/h3/a", - "book_mainpage_xpath": "//*[@id=\"sitembox\"]/dl/dd[1]/h3/a/@href", - "book_author_xpath": "//*[@id=\"sitembox\"]/dl/dd[2]/a[2]", + "book_name_xpath": "//*[@id=\"newscontent\"]/div[1]/ul/li/span/a", + "book_mainpage_xpath": "//*[@id=\"newscontent\"]/div[1]/ul/li/span/a/@href", + "book_author_xpath": "", "enable_chapter_page": 1, - "chapter_page_xpath": "//*[@id=\"bookinfo\"]/div[3]/a[1]/@href", - "chapter_title_xpath": "//*[@id=\"readerlists\"]/ul[position()>1]/li/a", - "chapter_url_xpath": "//*[@id=\"readerlists\"]/ul[position()>1]/li/a/@href", + "chapter_page_xpath": "//*[@id=\"info\"]/div[2]/a[1]/@href", + "chapter_title_xpath": "//*[@id=\"list\"]/dl/dd/a", + "chapter_url_xpath": "//*[@id=\"list\"]/dl/dd/a/@href", "enable_chapter_next": 0, "chapter_next_url_xpath": "", "chapter_next_keyword_xpath": "", @@ -322,8 +172,8 @@ "content_next_url_xpath": "", "content_next_keyword_xpath": "", "content_next_keyword": "", - "content_filter_type": 2, - "content_filter_keyword": "^.*imiaobige.com.*$" + "content_filter_type": 0, + "content_filter_keyword": "" }, { "title": "言情小说", "host": "https://www.yqbiqu.com", @@ -349,6 +199,31 @@ "content_next_keyword": "", "content_filter_type": 0, "content_filter_keyword": "" + }, { + "title": "晋江文学城wap", + "host": "https://wap.jjwxc.net", + "query_url": "https://wap.jjwxc.net/search?kw=%s&t=1", + "query_method": 0, + "query_params": "", + "query_charset": 2, + "book_name_xpath": "/html/body/div[3]/ul/li/a[1]", + "book_mainpage_xpath": "/html/body/div[3]/ul/li/a[1]/@href", + "book_author_xpath": "/html/body/div[3]/ul/li/a[2]", + "enable_chapter_page": 1, + "chapter_page_xpath": "/html/body/div[3]/div[1]/a[6]/@href", + "chapter_title_xpath": "/html/body/div[3]/div[1]/a", + "chapter_url_xpath": "/html/body/div[3]/div[1]/a/@href", + "enable_chapter_next": 0, + "chapter_next_url_xpath": "", + "chapter_next_keyword_xpath": "", + "chapter_next_keyword": "", + "content_xpath": "/html/body/div[2]/div[3]/div[1]/ul/li[1]", + "enable_content_next": 0, + "content_next_url_xpath": "", + "content_next_keyword_xpath": "", + "content_next_keyword": "", + "content_filter_type": 0, + "content_filter_keyword": "" }, { "title": "顶点小说", "host": "https://www.booktxt.net", @@ -376,53 +251,178 @@ "content_filter_keyword": "" }, { "title": "书海文学网", - "host": "https://www.shuhai.me", - "query_url": "https://www.shuhai.me/modules/article/search.php", - "query_method": 1, - "query_params": "searchkey=%s&action=login&submit=", + "host": "https://www.bookhai.com", + "query_url": "https://www.bookhai.com/s.php?ie=gbk&q=%s", + "query_method": 0, + "query_params": "", "query_charset": 2, - "book_name_xpath": "//*[@id=\"fengtui\"]/div/div/div[1]/h4/a", - "book_mainpage_xpath": "//*[@id=\"fengtui\"]/div/div/div[1]/h4/a/@href", - "book_author_xpath": "//*[@id=\"fengtui\"]/div/div/div[1]/div[1]", + "book_name_xpath": "//h4[@class='bookname']/a", + "book_mainpage_xpath": "//h4[@class='bookname']/a/@href", + "book_author_xpath": "//div[@class='author']", "enable_chapter_page": 0, "chapter_page_xpath": "", - "chapter_title_xpath": "//*[@id=\"list-chapterAll\"]/dd/a", - "chapter_url_xpath": "//*[@id=\"list-chapterAll\"]/dd/a/@href", + "chapter_title_xpath": "//div[@class='listmain']/dl/dd/a", + "chapter_url_xpath": "//div[@class='listmain']/dl/dd/a/@href", "enable_chapter_next": 0, "chapter_next_url_xpath": "", "chapter_next_keyword_xpath": "", "chapter_next_keyword": "", - "content_xpath": "//div[@class='readcontent']", + "content_xpath": "//*[@id=\"content\"]", "enable_content_next": 0, "content_next_url_xpath": "", "content_next_keyword_xpath": "", "content_next_keyword": "", "content_filter_type": 1, - "content_filter_keyword": "AD4" + "content_filter_keyword": " (www.exiaoshuo.com  E小说),高速全文字在线阅读!" }, { - "title": "31小说", - "host": "http://www.31xs.org", - "query_url": "http://www.31xs.org/search.php?keyword=%s", + "title": "新八一中文网", + "host": "https://www.x81zw.co", + "query_url": "https://www.x81zw.co/search.php?keyword=%s", "query_method": 0, "query_params": "", "query_charset": 1, - "book_name_xpath": "//div[@class='book-box mt15']/table[@class='grid']/tbody[@id='bookcase_list']/tr/td[2]/a", - "book_mainpage_xpath": "//div[@class='book-box mt15']/table[@class='grid']/tbody[@id='bookcase_list']/tr/td[2]/a/@href", - "book_author_xpath": "//div[@class='book-box mt15']/table[@class='grid']/tbody[@id='bookcase_list']/tr/td[4]", + "book_name_xpath": "//*[@id=\"wrapper\"]/div[5]/div/div[2]/h3/a", + "book_mainpage_xpath": "//*[@id=\"wrapper\"]/div[5]/div/div[2]/h3/a/@href", + "book_author_xpath": "//*[@id=\"wrapper\"]/div[5]/div/div[2]/div/p[1]/span[2]", + "enable_chapter_page": 0, + "chapter_page_xpath": "", + "chapter_title_xpath": "//*[@id=\"list\"]/dl[2]/dd/a", + "chapter_url_xpath": "//*[@id=\"list\"]/dl[2]/dd/a/@href", + "enable_chapter_next": 0, + "chapter_next_url_xpath": "", + "chapter_next_keyword_xpath": "", + "chapter_next_keyword": "", + "content_xpath": "//*[@id=\"content\"]", + "enable_content_next": 0, + "content_next_url_xpath": "", + "content_next_keyword_xpath": "", + "content_next_keyword": "", + "content_filter_type": 0, + "content_filter_keyword": "" + }, { + "title": "33言情", + "host": "https://www.33yq.org", + "query_url": "https://www.33yq.org/search.html", + "query_method": 1, + "query_params": "s=articlename&searchkey=%s", + "query_charset": 1, + "book_name_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/h2/a", + "book_mainpage_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/h2/a/@href", + "book_author_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/span", "enable_chapter_page": 0, "chapter_page_xpath": "", - "chapter_title_xpath": "//div[@id='list']/dl/dd/a", - "chapter_url_xpath": "//div[@id='list']/dl/dd/a/@href", + "chapter_title_xpath": "//*[@id=\"list\"]/dl/dd/a", + "chapter_url_xpath": "//*[@id=\"list\"]/dl/dd/a/@href", "enable_chapter_next": 0, "chapter_next_url_xpath": "", "chapter_next_keyword_xpath": "", "chapter_next_keyword": "", - "content_xpath": "//div[@id='content']", + "content_xpath": "//*[@id=\"content\"]", "enable_content_next": 0, "content_next_url_xpath": "", "content_next_keyword_xpath": "", "content_next_keyword": "", - "content_filter_type": 2, - "content_filter_keyword": "【.*】" + "content_filter_type": 0, + "content_filter_keyword": "" + }, { + "title": "爪机书屋", + "host": "https://www.zjsw.org", + "query_url": "https://www.zjsw.org/search.html", + "query_method": 1, + "query_params": "searchkey=%s", + "query_charset": 1, + "book_name_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/h2/a", + "book_mainpage_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/h2/a/@href", + "book_author_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/span", + "enable_chapter_page": 1, + "chapter_page_xpath": "//*[@id=\"detail-box\"]/div/div[1]/div[1]/div[2]/div[6]/span[2]/a/@href", + "chapter_title_xpath": "/html/body/div[3]/div[2]/dl/dd/a", + "chapter_url_xpath": "/html/body/div[3]/div[2]/dl/dd/a/@href", + "enable_chapter_next": 0, + "chapter_next_url_xpath": "", + "chapter_next_keyword_xpath": "", + "chapter_next_keyword": "", + "content_xpath": "//*[@id=\"content\"]", + "enable_content_next": 0, + "content_next_url_xpath": "", + "content_next_keyword_xpath": "", + "content_next_keyword": "", + "content_filter_type": 0, + "content_filter_keyword": "" + }, { + "title": "读一读小说", + "host": "http://du11du.com", + "query_url": "http://du11du.com/search.htm?keyword=%s", + "query_method": 0, + "query_params": "", + "query_charset": 1, + "book_name_xpath": "//*[@id=\"novel-list\"]/ul/li[position()>1]/div[2]/a", + "book_mainpage_xpath": "//*[@id=\"novel-list\"]/ul/li[position()>1]/div[2]/a/@href", + "book_author_xpath": "//*[@id=\"novel-list\"]/ul/li[position()>1]/div[4]", + "enable_chapter_page": 1, + "chapter_page_xpath": "//*[@id=\"btop-info\"]/div/article/div/div[2]/ul/li[6]/a[1]/@href", + "chapter_title_xpath": "//*[@id=\"chapters-list\"]/li[position()>1]/a", + "chapter_url_xpath": "//*[@id=\"chapters-list\"]/li[position()>1]/a/@href", + "enable_chapter_next": 0, + "chapter_next_url_xpath": "", + "chapter_next_keyword_xpath": "", + "chapter_next_keyword": "", + "content_xpath": "//*[@id=\"txtContent\"]", + "enable_content_next": 0, + "content_next_url_xpath": "", + "content_next_keyword_xpath": "", + "content_next_keyword": "", + "content_filter_type": 1, + "content_filter_keyword": "try {applySetting();} catch(ex){}" + }, { + "title": "乐文小说", + "host": "https://www.365xs.la", + "query_url": "https://www.365xs.la/search.html", + "query_method": 1, + "query_params": "searchkey=%s", + "query_charset": 1, + "book_name_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/h2/a", + "book_mainpage_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/h2/a/@href", + "book_author_xpath": "//*[@id=\"alistbox\"]/div[2]/div[1]/span", + "enable_chapter_page": 1, + "chapter_page_xpath": "//*[@id=\"detail-box\"]/div/div[1]/div[1]/div[2]/div[6]/span[2]/a/@href", + "chapter_title_xpath": "/html/body/div[3]/div[2]/dl/dd/a", + "chapter_url_xpath": "/html/body/div[3]/div[2]/dl/dd/a/@href", + "enable_chapter_next": 0, + "chapter_next_url_xpath": "", + "chapter_next_keyword_xpath": "", + "chapter_next_keyword": "", + "content_xpath": "//*[@id=\"content\"]", + "enable_content_next": 0, + "content_next_url_xpath": "", + "content_next_keyword_xpath": "", + "content_next_keyword": "", + "content_filter_type": 0, + "content_filter_keyword": "" + },{ + "title": "567中文", + "host": "http://www.xntk.org", + "query_url": "http://www.xntk.org/search.php", + "query_method": 1, + "query_params": "step=2&sch_area=0&asc=desc&searchtype=articlename&keyword=%s", + "query_charset": 2, + "book_name_xpath": "//*[@id=\"center\"]/center/center[1]/table[2]/tr/td[1]/a", + "book_mainpage_xpath": "//*[@id=\"center\"]/center/center[1]/table[2]/tr/td[1]/a/@href", + "book_author_xpath": "//*[@id=\"center\"]/center/center[1]/table[2]/tr/td[3]", + "enable_chapter_page": 1, + "chapter_page_xpath": "//*[@id=\"center\"]/center/table[4]/tr[4]/td/a[1]/@href", + "chapter_title_xpath": "//div[@class=\"centent\"]/tr/ul/li/a", + "chapter_url_xpath": "//div[@class=\"centent\"]/tr/ul/li/a/@href", + "enable_chapter_next": 0, + "chapter_next_url_xpath": "", + "chapter_next_keyword_xpath": "", + "chapter_next_keyword": "", + "content_xpath": "//*[@id=\"booktext\"]", + "enable_content_next": 0, + "content_next_url_xpath": "", + "content_next_keyword_xpath": "", + "content_next_keyword": "", + "content_filter_type": 0, + "content_filter_keyword": "" }] -} +} \ No newline at end of file