This repository has been archived by the owner on Oct 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
config.ini
43 lines (38 loc) · 1.99 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[bqg5200]
id = bqg5200
name = 笔趣阁5200
url = http://www.bqg5200.com/
slink = http://zhannei.baidu.com/cse/search?s=17194782488582577862&
keyword = q
title = find("meta",property="og:title")["content"]
description = find("meta",property="og:description")["content"]
image = find("meta",property="og:image")["content"]
category = find("meta",property="og:novel:category")["content"]
author = find("meta",property="og:novel:author")["content"]
status = find("meta",property="og:novel:status")["content"]
update = find("meta",property="og:novel:update_time")["content"]
latest = find("meta",property="og:novel:latest_chapter_name")["content"]
novel_link = find("a",class_="result-game-item-title-link")["href"]
chapter_list = find("div",id="readerlist").find_all("a")
chapter_name = chapter_list.string
chapter_link = chapter_list["href"]
text = find("div",id="content").get_text().replace("ads_yuedu_txt();","").replace("\xa0\xa0\xa0\xa0","\n")
[88dushu]
id = 88dushu
name = 88读书
url = http://www.88dushu.com/
slink = http://zn.8dushu.com/cse/search?s=16617183703213723707&
keyword = q
title = find("meta",property="og:title")["content"]
description = find("meta",property="og:description")["content"]
image = find("meta",property="og:image")["content"]
category = find("meta",property="og:novel:category")["content"]
author = find("meta",property="og:novel:author")["content"]
status = find("meta",property="og:novel:status")["content"]
update = find("meta",property="og:novel:update_time")["content"]
latest = find("meta",property="og:novel:latest_chapter_name")["content"]
novel_link = find("a",class_="result-game-item-title-link")["href"]
chapter_list = find("div",class_="mulu").find_all("a")
chapter_name = chapter_list.string
chapter_link = chapter_list["href"]
text = find("div",class_="yd_text2").get_text("\n").replace(u"\n\r","\n").replace(u"\n\n","\n")