fix(track): fallback to requests downloader from n_m3u8dl_re for unsupported track types

This commit is contained in:
Andy
2026-02-24 12:57:46 -07:00
parent b11b23e529
commit 34f4d6bff7
2 changed files with 7 additions and 23 deletions

View File

@@ -1861,11 +1861,6 @@ class dl:
)
self.cdm = quality_based_cdm
for track in title.tracks.subtitles:
if callable(track.OnSegmentFilter) and track.downloader.__name__ == "n_m3u8dl_re":
from unshackle.core.downloaders import requests as requests_downloader
track.downloader = requests_downloader
dl_start_time = time.time()
try: