Skip to content

Fix: recent change made fetch_info unpicklable#607

Merged
arabcoders merged 7 commits into
masterfrom
dev
May 24, 2026
Merged

Fix: recent change made fetch_info unpicklable#607
arabcoders merged 7 commits into
masterfrom
dev

Conversation

@arabcoders

@arabcoders arabcoders commented May 24, 2026

Copy link
Copy Markdown
Owner
  • Introduced a new jsonl formatter to output structured JSON logs for file handlers.
  • Updated API documentation (API.md) to reflect the new structured log format, including detailed log record fields and examples, and clarified the meaning of the fields and exception properties.
  • Removed documentation for the now-deleted /api/thumbnail endpoint.
  • Refactored yt-dlp logging: replaced the logger callback with a class-based _YTDLPLogger and introduced _LogCapture for capturing logs as strings. This improves testability and enables log target pickling.
  • Changed the return type of extract_info_sync and fetch_info to return lists of strings for logs, rather than lists of dicts, and updated docstrings accordingly.
  • Removed the /api/thumbnail endpoint and all related code.
  • refactor: standardize JSONL structure.

@arabcoders arabcoders marked this pull request as draft May 24, 2026 14:25
@arabcoders arabcoders marked this pull request as ready for review May 24, 2026 19:07
@arabcoders arabcoders merged commit 8e14258 into master May 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant