Skip to content

Commit

Permalink
requests requests no data
Browse files Browse the repository at this point in the history
  • Loading branch information
coletdjnz committed Nov 9, 2024
1 parent c5d1eb7 commit ab37e2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yt_dlp_plugins/extractor/_ytse/downloader/sabr.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ def download(self):
raise DownloadError('No data found in three consecutive requests')
break # stream finished?
requests_no_data += 1
else:
requests_no_data = 0

current_buffered_ranges = [initialized_format.buffered_ranges[-1] for initialized_format in self.initialized_formats.values() if initialized_format.buffered_ranges]

Expand Down

0 comments on commit ab37e2d

Please # to comment.