如何稳定获取originVideoKey
#94
Unanswered
RoyRao2333
asked this question in
Q&A
Replies: 1 comment 6 replies
-
没理解,请求是否携带 Cookie? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#84
首先感谢大佬的付出。我正在尝试使用Node.js实现一个通用的接口层,用于获取无水印视频和图片(暂时)。
这里想问一下,我在使用Puppeteer访问小红书文章时,得到的
__INITIAL_STATE__
中包含global
字段,这时能够正常拿到originVideoKey
;但有时会拿到noteData
字段,这时就数据中就不包含originVideoKey
了,同时也就只包含一个含水印的链接noteData?.data?.noteData?.video?.url
。还没有完整研究透大佬的代码,想请问一下大佬是如何处理这两种数据结构的呢?
Beta Was this translation helpful? Give feedback.
All reactions