http://mayxwebloguxp4t2bgyc2i22zxylftibcajiyqmghlpyb7g6zxfsyiyd.onion/2025/07/24/screenshot.html
若缓存不存在,则请求 Cloudflare Screenshot API try { const payload = { url : url , viewport : { width : 1200 , height : 800 }, gotoOptions : { waitUntil : " networkidle0 " }, }; const apiRes = await fetch ( `https://api.cloudflare.com/client/v4/accounts/ ${ env . CF_ACCOUNT_ID } /browser-rendering/screenshot?cacheTTL=86400` , { method : " POST " , headers : { Authorization : `Bearer ${ env . CF_API_TOKEN } ` , " Content-Type " : " application/json " , }, body : JSON . stringify ( payload ), } ); if...