QQMusicApi icon indicating copy to clipboard operation
QQMusicApi copied to clipboard

QQ登录实现(puppeteer方案)

Open raphaelsoul opened this issue 3 years ago • 10 comments

https://gist.github.com/raphaelsoul/c94e01734696fdbc586ecd2df907e603 因为有稳定程序需要 尝试了一下puppeteer方式登录和获取cookie

两点建议

  1. 希望能和隔壁网易云api一样做成npm依赖直接由nodejs调用和设置代理

但是看了一下实现都是按照app应用路由来写的 不太好改

  1. 可以参考我的gist整合puppeteer方式 配置好账户密码可以自动轮换cookie

如果有空 也许会提PR(划掉

raphaelsoul avatar Feb 04 '21 14:02 raphaelsoul

有个小问题,我的qq号被qq音乐封了,接下来应该不会提供公用cookie的服务了

2021年2月4日 下午10:29,Dechen Zhuang <[email protected]mailto:[email protected]> 写道:

https://gist.github.com/raphaelsoul/c94e01734696fdbc586ecd2df907e603 因为有稳定程序需要 尝试了一下puppeteer方式登录和获取cookie

两点建议

  1. 希望能和隔壁网易云api一样做成npm依赖直接由nodejs调用
  2. 可以参考我的gist整合puppeteer方式 配置好账户密码可以自动轮换cookie

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/jsososo/QQMusicApi/issues/93, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFNGPYWF2TKEQWFVX7FRZ3S5KVLHANCNFSM4XC5S67A.

jsososo avatar Feb 04 '21 15:02 jsososo

有个小问题,我的qq号被qq音乐封了,接下来应该不会提供公用cookie的服务了 2021年2月4日 下午10:29,Dechen Zhuang <[email protected]mailto:[email protected]> 写道: https://gist.github.com/raphaelsoul/c94e01734696fdbc586ecd2df907e603 因为有稳定程序需要 尝试了一下puppeteer方式登录和获取cookie 两点建议 1. 希望能和隔壁网易云api一样做成npm依赖直接由nodejs调用 2. 可以参考我的gist整合puppeteer方式 配置好账户密码可以自动轮换cookie — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#93>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFNGPYWF2TKEQWFVX7FRZ3S5KVLHANCNFSM4XC5S67A.

这肯定要拿几个小号来轮换啊😯

raphaelsoul avatar Feb 04 '21 15:02 raphaelsoul

担心这是一个开始,而且本身确实分享 cookie 这个行为是不尊重版权的,以后在实现上会选择转为migu音乐的替换吧

jsososo avatar Feb 04 '21 16:02 jsososo

同qq号被qq音乐封了 这个有解吗 也不知道有没有期限

wangzhuolin avatar Feb 11 '21 07:02 wangzhuolin

https://gist.github.com/raphaelsoul/c94e01734696fdbc586ecd2df907e603 因为有稳定程序需要 尝试了一下puppeteer方式登录和获取cookie

两点建议

  1. 希望能和隔壁网易云api一样做成npm依赖直接由nodejs调用和设置代理

但是看了一下实现都是按照app应用路由来写的 不太好改

  1. 可以参考我的gist整合puppeteer方式 配置好账户密码可以自动轮换cookie

如果有空 也许会提PR(划掉

大佬你这个具体怎么使用啊,麻瓜不会操作

mjyhj avatar Feb 26 '21 15:02 mjyhj

https://gist.github.com/raphaelsoul/c94e01734696fdbc586ecd2df907e603 因为有稳定程序需要 尝试了一下puppeteer方式登录和获取cookie 两点建议

  1. 希望能和隔壁网易云api一样做成npm依赖直接由nodejs调用和设置代理

但是看了一下实现都是按照app应用路由来写的 不太好改

  1. 可以参考我的gist整合puppeteer方式 配置好账户密码可以自动轮换cookie

如果有空 也许会提PR(划掉

大佬你这个具体怎么使用啊,麻瓜不会操作

同问

gl0zzy avatar Apr 01 '21 02:04 gl0zzy

我也想知道怎么用,不会呀

fgs2025 avatar May 09 '21 03:05 fgs2025

推荐使用oicq来获取cookie

Cloud370 avatar Aug 18 '21 08:08 Cloud370

有没有考虑过使用客户端的cookie @jsososo

ctaoist avatar Jan 04 '22 10:01 ctaoist

以前有尝试过,有效期也是只有1天,是通过别的接口去刷新时间的

发自我的iPad

在 2022年1月4日,下午6:13,ctaoist @.***> 写道:



有没有考虑过使用客户端的cookie @jsososohttps://github.com/jsososo

— Reply to this email directly, view it on GitHubhttps://github.com/jsososo/QQMusicApi/issues/93#issuecomment-1004680470, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFNGP3VUHNSCACAHCU4RRTUULB4VANCNFSM4XC5S67A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

jsososo avatar Jan 04 '22 16:01 jsososo