diff --git a/README.md b/README.md index 7afceee..355effe 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,24 @@ pip install -r requirements.txt ```bash python main.py --port 5000 ``` - +### 3. 指定公网地址 +```python + ##sanjuuni_utils.py + return { + 'status': 'success', + 'download_url': f"http://ffmpeg.liulikeji.cn/download/{output_id}/{output_filename}", #外部访问地址 + 'file_id': output_id, + 'temp_dir': temp_dir # 返回临时目录路径 + } + + ##ffmpeg_utils.py + return { + 'status': 'success', + 'download_url': f"http://ffmpeg.liulikeji.cn/download/{output_id}/{output_filename}", #外部访问地址 + 'file_id': output_id, + 'temp_dir': temp_dir # 返回临时目录路径 + } +``` --- ## ⏰ 自动缓存清理配置