A Python package for analyzing HTTP traffic captures from HAR files, Proxyman logs, Bodylogger files, or multifile archives (.barc/.zip), with a focus on ABR streams (HLS and MPEG-DASH). trace-shrink provides a unified API to detect ABR manifest URLs, extract requests, and analyze streaming sessions, in particular recorded from live streams in which the same manifest URL is requested multiple times for refreshes.
- Unified API for different trace file formats (.har, .proxymanlogv2, .log bodylogger files, multifile folders, and .barc/.zip archives)
- Detect ABR manifest URLs from captured HTTP traffic
- Extract and analyze streams of requests to ABR manifests
- Focus on live streaming scenarios with repeated manifest requests
- Convert between formats (e.g., bodylogger to HAR, or to multifile archives)
See the full documentation for more details: https://wabiloo.github.io/trace-shrink/
pip install trace-shrinkRequirements: Python 3.10 or higher