Skip to content

Commit f4357c8

Browse files
committed
1 parent c96b53e commit f4357c8

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/txnews.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- uses: actions/checkout@v1
2626
- name: Use Node.js 10.x
2727
uses: actions/setup-node@v1
28-
if: env.TXNEWS_COOKIE
2928
with:
3029
node-version: 10.x
3130
- name: npm install
31+
if: env.TXNEWS_COOKIE
3232
run: |
3333
npm install
3434
- name: '运行 【腾讯新闻】'

‎Task/txnews.js‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ const notify = $.isNode() ? require('./sendNotify') : '';
5050
let s = parseInt($.getdata('delay'))||200 // 间隔延迟时间
5151
let notifyInterval =$.getdata('notifynum')||50; //阅读篇数间隔通知开为1,常关为0;
5252
const TX_HOST = 'https://api.inews.qq.com/activity/v1/'
53-
let SignArr = [],signurlVal = "";
54-
cookiesArr = [],cookieVal = "";
55-
VideoArr = [],videoVal = "";
53+
let SignArr = [],SignUrl = "";
54+
cookiesArr = [],CookieTxnews = "";
55+
VideoArr = [],SignUrl = "";
56+
5657

5758
if ($.isNode()) {
5859
if (process.env.TXNEWS_COOKIE && process.env.TXNEWS_COOKIE.split('&') && process.env.TXNEWS_COOKIE.split('&').length > 0) {

0 commit comments

Comments
 (0)