binbyu / Reader

A win32 txt file reader
3.76k stars 548 forks source link

书源更新 Upd: 2024/7/6 #215

Open mcwikis opened 4 months ago

mcwikis commented 4 months ago

由于大部分书源无法使用,现提供新版书源。(2024/7/6)

  1. 笔趣阁ibiquge
{
    "book_sources": [{
            "title":    "笔趣阁ibiquge",
            "host": "https://www.ibiquge.cc",
            "query_url":    "https://www.ibiquge.cc/dfhdrhsdrhrds.php?ie=gbk&q=%s",
            "query_method": 0,
            "query_params": "",
            "query_charset":    2,
            "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":  "//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":    "//*[@id=\"content\"]",
            "enable_content_next":  0,
            "content_next_url_xpath":   "",
            "content_next_keyword_xpath":   "",
            "content_next_keyword": "",
            "content_filter_type":  0,
            "content_filter_keyword":   ""
        }]
}

原理:此网站经常更新搜索书籍的 API,具体的,您可以使用 F12 抓取最新 API。

mcwikis commented 4 months ago

最新获取 "Query Url" 方案:

  1. 打开 “http://www.ibiquge.cc/js/common.js
  2. 搜索 "action" 其中第一个的同行存在类似 “dfhdrhsdrhrds” 的搜索 PHP。
  3. 将 "https://www.ibiquge.cc/newphp.php?ie=gbk&q=%s" 中的 “newphp” 切换成您找到的信息。
MrHuck commented 2 months ago

今天尝试更新这个源,发现https去掉s才能访问,不知道什么情况,其他没变化