Files
ucloud-comfyui-plugin/py
jason.mei 4092be6a0a refactor(preview_video): simplify video saving and reorder download logic
- Add requests import for direct HTTP video downloads
- Replace complex video object data extraction with direct URL download using requests.get()
- Move file saving logic before download_url_to_video_output call to avoid consuming data stream
- Simplify video data retrieval by downloading directly from URL instead of extracting from video object
- Add timeout parameter (120s) and error handling for HTTP requests
- Improve code clarity by removing conditional checks for different video object attributes
2025-12-30 11:02:47 +08:00
..
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00
2025-09-15 15:31:26 +08:00