MCPcopy
hub / github.com/chavyleung/scripts / VideoCoin

Function VideoCoin

qimao/qmnovel.js:264–279  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

262 }
263
264function VideoCoin(t) {
265 return new Promise(resolve => { setTimeout(() => {
266 url = { url: VCURL, headers: JSON.parse(DCKEY) }
267 qmnovel.get(url, (error, response, data) => {
268 try {
269 Totalresult.videocoin = JSON.parse(data)
270 qmnovel.log(`${cookieName}视频奖励, data: ${data}`)
271 resolve('done');
272 } catch (e) {
273 qmnovel.log(`Error: ${error}`)
274 qmnovel.msg(cookieName, '领取视频奖励: 失败‼️', '请查看错误日志‼️')
275 resolve('done');
276 }
277 })}, t)
278 })
279}
280
281function LuckyTurn(t) {
282 return new Promise(resolve => { setTimeout(() => {

Callers 1

allFunction · 0.85

Calls 3

getMethod · 0.45
logMethod · 0.45
msgMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…