docs: Update README with v0.2.25 changelog
This commit is contained in:
@@ -10,6 +10,8 @@ FlaskFarm용 범용 다운로드 매니저 플러그인입니다.
|
||||
- **카드 상태별 색상**: 완료(초록), 에러(빨강), 다운로드 중(파랑) 배경 구분
|
||||
- **부분 DOM 업데이트**: 이미지 깜빡임 방지, 성능 최적화
|
||||
- **소스 타입 수정**: ani24 → ohli24로 통일
|
||||
- **FFmpeg HLS 안정성**: 비표준 m3u8 확장자(`.txt`) 지원 및 호환성 옵션 최적화
|
||||
- **썸네일 버그 수정**: 외부 플러그인 위임 시 썸네일 누락 현상 수정
|
||||
|
||||
## v0.2.17 변경사항 (2026-01-08)
|
||||
- **yt-dlp HTTP 헤더 지원**: `options.headers` 딕셔너리에서 `--add-header` 인자를 생성하여 Referer/User-Agent 등 커스텀 헤더를 yt-dlp에 전달합니다.
|
||||
|
||||
@@ -12,7 +12,7 @@ def get_downloader(source_type: str) -> Optional[BaseDownloader]:
|
||||
from .ytdlp_aria2 import YtdlpAria2Downloader
|
||||
return YtdlpAria2Downloader()
|
||||
|
||||
elif source_type in ('ohli24', 'hls'):
|
||||
elif source_type in ('ohli24', 'ani24', 'hls'):
|
||||
from .ffmpeg_hls import FfmpegHlsDownloader
|
||||
return FfmpegHlsDownloader()
|
||||
|
||||
|
||||
@@ -80,13 +80,13 @@ class FfmpegHlsDownloader(BaseDownloader):
|
||||
except Exception as ce:
|
||||
logger.error(f"Failed to read cookies_file: {ce}")
|
||||
|
||||
# 입력 전 설정 (Reconnection & HTTP persistence fix)
|
||||
# 입력 전 설정 (Reconnection & Allowed extensions for non-standard m3u8 like .txt)
|
||||
cmd.extend([
|
||||
'-allowed_extensions', 'ALL',
|
||||
'-reconnect', '1',
|
||||
'-reconnect_at_eof', '1',
|
||||
'-reconnect_streamed', '1',
|
||||
'-reconnect_delay_max', '5',
|
||||
'-http_persistent', '0'
|
||||
'-reconnect_delay_max', '5'
|
||||
])
|
||||
|
||||
# 입력 URL
|
||||
@@ -178,7 +178,8 @@ class FfmpegHlsDownloader(BaseDownloader):
|
||||
def _get_duration(self, url: str, ffprobe_path: str, headers: Dict) -> float:
|
||||
"""ffprobe로 영상 길이 획득"""
|
||||
try:
|
||||
cmd = [ffprobe_path, '-v', 'error', '-show_entries', 'format=duration',
|
||||
cmd = [ffprobe_path, '-v', 'error', '-allowed_extensions', 'ALL',
|
||||
'-show_entries', 'format=duration',
|
||||
'-of', 'default=noprint_wrappers=1:nokey=1']
|
||||
|
||||
if headers:
|
||||
|
||||
Reference in New Issue
Block a user