mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
1 line
462 B
JavaScript
1 line
462 B
JavaScript
(()=>(r,o)=>{const n=32;const t=412;const e=r=>{Toast.info(`为防止短时间内大量下载导致封禁, 请不要选择超过${n}的集数.`,r,5e3)};const s=()=>{throw new Error(`为防止短时间内大量下载导致封禁, 请不要选择超过${n}的集数.`)};const a=()=>{throw new Error(`短时间内下载量过大, 请过段时间再试.`)};return{export:{MaxBatchSize:n,BannedResponse:t,showBatchWarning:e,throwBatchError:s,throwBannedError:a}}})(); |