MCPcopy Create free account
hub / github.com/NobyDa/Script / playURL

Function playURL

Bahamut/BahamutAnimeAds.js:49–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49function playURL() {
50 return new Promise((res) => {
51 get({
52 url: req.url,
53 headers: req.headers
54 }, (err, resp, data) => res(JSON.parse(data || '{}')))
55 })
56}
57
58function get(options, callback) {
59 if (typeof $task != "undefined") {

Callers 1

runsFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected