File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,9 +15,10 @@ cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scr
1515
16161 . 先把` music.163.com ` 加到` [MITM] `
17172 . 再把两条远程脚本放到` [Script] `
18- 3 . 用浏览器访问下: http://music.163.com/ (需要登录)
19- 4 . ` Surge ` 提示: ` Cookie [网易云音乐] 写入成功 `
20- 5 . 最后就可以把第 1 条脚本注释掉了
18+ 3 . 浏览器访问&登录: https://music.163.com/m/login
19+ 4 . 用浏览器访问下: http://music.163.com/ (注意是 http, 不是 https, 没有 s!)
20+ 5 . ` Surge ` 提示: ` Cookie [网易云音乐] 写入成功 `
21+ 6 . 最后就可以把第 1 条脚本注释掉了
2122
2223> 第 1 条脚本是用来获取 cookie 的, 用浏览器访问一次获取 cookie 成功后就可以删掉或注释掉了
2324
Original file line number Diff line number Diff line change 44 * music.163.com
55 *
66 * [Script]
7- * http-request ^http:/ /music.163.com/ script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.cookie.js
7+ * http-request ^https?:\/\ /music\ .163\ .com\ / script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.cookie.js
88 * cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.js
99 *
1010 */
Original file line number Diff line number Diff line change 44 * music.163.com
55 *
66 * [Script]
7- * http-request ^http:/ /music.163.com/ script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.cookie.js
7+ * http-request ^https?:\/\ /music\ .163\ .com\ / script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.cookie.js
88 * cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.js
99 *
1010 */
@@ -39,7 +39,6 @@ function sign() {
3939
4040function log ( title , data ) {
4141 let result = JSON . parse ( data )
42- console . log ( result )
4342 if ( result . code == 200 ) {
4443 console . log ( `签到成功: ${ title } ` )
4544 } else {
You can’t perform that action at this time.
0 commit comments