aboutsummaryrefslogtreecommitdiffstats
path: root/python/gevent/resolver_ares.py
diff options
context:
space:
mode:
authorAstounds <kirito@disroot.org>2026-04-05 18:47:21 -0500
committerAstounds <kirito@disroot.org>2026-04-05 18:47:21 -0500
commit3795d9e4ff7aad090d0968ecd6a6132d922a68dc (patch)
tree5c720bd900ccaaff7c38eb96fdc3a6a3b5e1f9e5 /python/gevent/resolver_ares.py
parent3cf221a1edcfe08e08b4af21c591561e1467af13 (diff)
downloadyt-local-feature/hls.tar.lz
yt-local-feature/hls.tar.xz
yt-local-feature/hls.zip
fix(playlists): make playlist parsing robust against filename and formatting issuesfeature/hls
- Use glob lookup to find playlist files even with trailing spaces in filenames - Sanitize lines (strip whitespace) before JSON parsing to ignore trailing spaces/empty lines - Handle JSONDecodeError gracefully to prevent 500 errors from corrupt entries - Return empty list on FileNotFoundError in read_playlist instead of crashing - Extract _find_playlist_path and _parse_playlist_lines helpers for reuse
Diffstat (limited to 'python/gevent/resolver_ares.py')
0 files changed, 0 insertions, 0 deletions