Skip to content

Commit ba268e5

Browse files
committed
更新努努书坊[书].js
1 parent 7689b51 commit ba268e5

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

spider/js/去读书[书].js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ var rule = {
2626
filterable: 0,
2727
timeout: 10000,
2828
play_parse: true,
29-
headers: {
30-
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36'
31-
},
29+
headers: { 'User-Agent': 'MOBILE_UA' },
3230

3331
一级: async function () {
3432
let {input, pdfa, pdfh, pd} = this;
@@ -56,16 +54,11 @@ var rule = {
5654
let html = await request(input);
5755
let VOD = {
5856
vod_name: pdfh(html, '[property="og:novel:book_name"]&&content') || '',
59-
type_name: '',
6057
vod_pic: pd(html, '.divbox.cf img&&src') || '',
6158
vod_content: pdfh(html, '.tabcontent .tabvalue:eq(0)&&Text') || '',
6259
vod_remarks: pdfh(html, 'h3 a&&Text') || '',
63-
vod_year: '',
64-
vod_area: '',
6560
vod_actor: pdfh(html, '[property="og:novel:author"]&&content') || '',
66-
vod_director: '',
67-
vod_play_from: '去读书网',
68-
vod_play_url: ''
61+
vod_play_from: '去读书网'
6962
};
7063
VOD.vod_director = VOD.vod_actor; // 复用作者信息
7164
let tocUrl = pd(html, 'a:contains(点击阅读)&&href') || '';
@@ -106,7 +99,7 @@ var rule = {
10699
}
107100
return setResult(d);
108101
},
109-
// 懒加载解析(章节内容)
102+
110103
lazy: async function () {
111104
let {input, pdfh} = this;
112105
let html = await request(input);

0 commit comments

Comments
 (0)