1 。 Puppteer 只能到Go Page,没法输出_at值
(env) ➜ tiny-red-book git:(master) ✗ node index.js
undefined undefined undefined
mongodb://tinyredbook:lilang@127.0.0.1:27017/tinyredbook
The db connection is ready!
(node:6361) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
[Puppteer] Launch Browser
[Puppteer] Launch Browser
[Puppteer] Open Tab
[Puppteer] Open Tab
[Puppteer] Go Page
1 。 Puppteer 只能到Go Page,没法输出_at值 (env) ➜ tiny-red-book git:(master) ✗ node index.js undefined undefined undefined mongodb://tinyredbook:lilang@127.0.0.1:27017/tinyredbook The db connection is ready! (node:6361) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. [Puppteer] Launch Browser [Puppteer] Launch Browser [Puppteer] Open Tab [Puppteer] Open Tab [Puppteer] Go Page
const feedUrl = 'https://www.xiaohongshu.com/sapi/wx_mp_api/sns/v1/homefeed?oid=homefeed_recommend&cursor_score=1551155904.8400&sid=session.1551154599106018706';
我抓包得到auth 和 auth-sign 现在还是没法让程序运行起来。