Conversation
Review Summary by QodoImplement per-video retry backoff with recovery pass
WalkthroughsDescription• Implement per-video retry logic with configurable recovery delay • Add tenacity-based exponential backoff for transient network errors • Distinguish permanent vs transient failures with is_permanent_exception flag • Create TimeoutSession to enforce request timeouts and improve error handling • Add configurable recovery options (with_recovery, recovery_delay) to FetchOptions Diagramflowchart LR
A["Fetch Transcripts"] --> B["_fetch_with_recovery_pass"]
B --> C["Initial Fetch"]
C --> D{"Transient Errors?"}
D -->|Yes| E["Wait recovery_delay"]
E --> F["Retry with Exponential Backoff"]
F --> G["Collect Results"]
D -->|No| G
G --> H["Return Success & Failed"]
File Changes1. ytfetcher/_core.py
|
Code Review by Qodo
1.
|
PR Summary
|
No description provided.