Socket
Book a DemoInstallSign in
Socket

juejin-pins-comment

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juejin-pins-comment

掘金批量评论沸点工具

latest
Source
npmnpm
Version
0.3.8
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

juejin-pins-comment

掘金批量评论沸点工具

安装

npm install -g juejin-pins-comment

获取 Token

我们需要获取掘金登录状态才可以评论,评论时生效的 cookie 是 sessionid_ss。暂时我们需要您手动获取,后续会借鉴 ArtiPub 写一个 Chrome 插件自动获取。

  • 登录 juejin.cn
  • 打开 开发者工具 -> Application -> Storage -> Cookies -> https://juejin.cn
  • 复制 sessionid_ssvalue

使用

6931915009140195336 是指定的沸点分类 id;-t 指定 Token;-c 指定评论内容;-p 指定图片(暂时只支持单张)

注意:-l 指定限制数量,为了防止误发,默认值设为了 1,批量发送请指定一个足够大的数字

$ juejin-pins-comment 6931179346187321351 \
  -t 0c13f8e1412f1c11990d6aa15c1ba4c1 \
  -c 获得一张通关卡,其他话题请留到明天继续解锁 \
  -p https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/dfa295f82472451fa64db3f512e16123\~tplv-k3u1fbpfcp-watermark.image \
  -l 1000 \
  -s 1614268800 \
  -e 1614333300

或者不换行:

$ juejin-pins-comment 6931915009140195336 -t 0a316dbb4a103a0e3156213ba0b49c32 -c 获得一张通关卡,其他话题请留到明天继续解锁 -p https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/4eff98c7ceec4a52821f679a542445f6~tplv-k3u1fbpfcp-watermark.image -s 1614268800 -e 1614338400 -l 1000

juejin-pins-comment 可以简写为 jpc

另外还支持指定时间范围、限制沸点数量等功能,请使用 juejin-pins-comment -h 查看如何使用。

FAQs

Package last updated on 10 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts