Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Author: An Shen
# Date: 2023-01-30
. /etc/profile
function log(){
echo "[$(date +'%Y-%m-%d %H:%M:%S')] - $1"
}
@sonce
sonce / v1.sh
Created January 30, 2023 02:02 — forked from meoww-bot/v1.sh
京东口罩库存监控,v2版本无需登录京东账号
#!/bin/bash
# 需要替换的参数:
# CHAT_ID='-1001325237796' 目标群或者频道ID
# TOKEN="BOT TOKEN" BOT的TOKEN
# Cookie 中的 THOR 可以在登录了京东账号后抓包获得
# 购买地区:
# cityId,townId,countyId 可以在"配送至" - "选择新地址",审查元素,查看对应地区的id
skuid="
100002690344
100002690350