Continue seeded Qinglong script collection
This commit is contained in:
26
脚本库/web版/抓包/unicomFlow/2025-10-28_unicomFlow_dd4d505e.js
Normal file
26
脚本库/web版/抓包/unicomFlow/2025-10-28_unicomFlow_dd4d505e.js
Normal file
@@ -0,0 +1,26 @@
|
||||
// # Source: https://github.com/NaroisCool/naro-scripts/blob/master/unicomFlow.js
|
||||
// # Raw: https://raw.githubusercontent.com/NaroisCool/naro-scripts/master/unicomFlow.js
|
||||
// # Repo: NaroisCool/naro-scripts
|
||||
// # Path: unicomFlow.js
|
||||
// # UploadedAt: 2025-10-28T05:54:28+08:00
|
||||
// # SHA256: dd4d505e69f69279cd853de01b5e828eea2517bd7d376f4fef7bc36a9a4c7c57
|
||||
// # Category: web版/抓包
|
||||
// # Evidence: web/H5关键词 + cookie/token/header
|
||||
//
|
||||
|
||||
/*
|
||||
cron: 59 36 9-19/2 * * 1-5
|
||||
*/
|
||||
const notify = require('./sendNotify')
|
||||
const request = require('axios')
|
||||
const payload = "duanlianjieabc=&channelCode=&serviceType=&saleChannel=&externalSources=&contactCode=&ticket=&ticketPhone=&ticketChannel=&userNumber=&language=chinese"
|
||||
const header = {
|
||||
"Cookie":process.env.UNICOM_TOKEN,
|
||||
"User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 15_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 unicom{version:iphone_c@9.0500}"
|
||||
}
|
||||
request.post("https://m.client.10010.com/servicequerybusiness/operationservice/queryOcsPackageFlowLeftContentRevisedInJune", payload, {headers:header}).then((res)=>{
|
||||
var res = res.data
|
||||
var report = '今日使用流量:'+res.rzbAllUse+'MB, 通话☎️超出'+res.voiceExceed+'分钟,短信🆕超出'+res.smsHeadUsed+'条'
|
||||
console.log(report)
|
||||
notify.sendNotify('实时流量统计',report)
|
||||
})
|
||||
Reference in New Issue
Block a user