MCPcopy Index your code
hub / github.com/Moli-X/Resources / ParseUnknown

Function ParseUnknown

Script/Parser.js:267–277  ·  view source on GitHub ↗

# 以下为具体的 function

(cnt)

Source from the content-addressed store, hash-verified

265*/
266
267function ParseUnknown(cnt){
268 try {
269 cnt = JSON.parse(cnt)
270 if(cnt) {
271 $notify("⚠️ 链接返回内容并非有效订阅"+ "⟦" + subtag + "⟧","⁉️ 请自行检查原始链接,返回内容 👇️👇️",JSON.stringify(cnt), bug_link)
272 }
273
274 } catch(err) {
275 $notify("😭 未能识别该订阅格式: " + "⟦" + subtag + "⟧", "⚠️ 将直接导入Quantumult X \n 如认为是 BUG, 请点通知跳转并发送链接反馈", "链接返回内容:\n"+cnt, bug_link);
276 }
277}
278
279
280

Callers 1

ResourceParseFunction · 0.85

Calls 3

$notifyFunction · 0.70
parseMethod · 0.45
stringifyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…