Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mcwikis opened this issue Jul 6, 2024 · 2 comments
Open

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

mcwikis opened this issue Jul 6, 2024 · 2 comments

Comments

@mcwikis
Copy link

mcwikis commented Jul 6, 2024

由于大部分书源无法使用,现提供新版书源。(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
Copy link
Author

mcwikis commented Jul 6, 2024

最新获取 "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
Copy link

MrHuck commented Aug 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants