File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ const $ = new Env("中青看点阅读")
1212//const notify = $.isNode() ? require('./sendNotify') : '';
1313let ReadArr = [ ] , timebodyVal = "" ;
1414let YouthBody = $ . getdata ( 'youth_autoread' ) || $ . getdata ( "zqgetbody_body" ) ;
15- let smallzq = $ . getdata ( 'youth_cut' )
15+ let smallzq = $ . getdata ( 'youth_cut' ) ;
16+ let indexLast = $ . getdata ( 'zqbody_index' ) ;
1617let artsnum = 0 , videosnum = 0 ;
1718let videoscore = 0 , readscore = 0 ;
1819let artArr = [ ] , delbody = 0 ;
@@ -64,13 +65,13 @@ $.log("******** 您共获取" + ReadArr.length + "次阅读请求,任务开始
6465 return ;
6566 }
6667if ( ! $ . isNode ( ) ) {
67- let indexLast = $ . getdata ( 'zqbody_index' ) ;
6868 $ . begin = indexLast ? parseInt ( indexLast ) : 1 ;
6969 $ . index = 0 ;
7070 if ( $ . begin + 1 <= ReadArr . length ) {
7171 $ . log ( "\n上次运行到第" + $ . begin + "次终止,本次从" + ( parseInt ( $ . begin ) + 1 ) + "次开始" ) ;
7272 } else {
73- $ . log ( "由于上次缩减剩余请求数已小于总请求数,本次从头开始" ) indexLast = 0 ,
73+ $ . log ( "由于上次缩减剩余请求数已小于总请求数,本次从头开始" ) ;
74+ indexLast = 0 ,
7475 $ . begin = 0
7576 }
7677} else {
You can’t perform that action at this time.
0 commit comments