This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function main() { | |
console.log("=== Shadowrocket Sora capture script start ==="); | |
(function main() { | |
const APPS_SCRIPT_ENDPOINT = "https://script.google.com/macros/s/AKfycbzVvaeUQ0ev0_390o4KtGHaKkhOGWJeHEtN9zZso0gXK9WOQsjDtplV5sLTIC_w3RXh/exec"; | |
const requestUrl = ($request && $request.url) || ""; | |
console.log("=== Shadowrocket Sora capture script start ==="); | |
console.log("Captured request URL:", requestUrl); | |
if (!/https?:\/\/videos\.openai\.com\//i.test(requestUrl)) return $done({}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!name=Sora视频链接捕获 | |
#!desc=自动捕获OpenAI Sora生成的视频链接并保存到Google Sheets | |
#!system=ios | |
[Script] | |
# ⚠️ 注意:下面的 script-path 需要指向同一个 Gist 中的 soralink.js 文件的 Raw URL | |
# 格式:https://gist.githubusercontent.com/YOUR_USERNAME/GIST_ID/raw/COMMIT_HASH/soralink.js | |
sora-capture = https://gist.githubusercontent.com/Whiteeeaii/8dfb6bfc1712b44863c5b3d58cced618/raw/3934f35482695c2505af67285455e0ff272825ce/soralink.js | |
[MITM] |