Tyrrrz / YoutubeDownloader

Downloads videos and playlists from YouTube
MIT License
8.71k stars 1.19k forks source link

A particular video always getting failed after reaching 0.9%. #403

Closed clicky6 closed 9 months ago

clicky6 commented 10 months ago

Version

v1.10.8

Platform

Windows 11

Steps to reproduce

https://youtu.be/8PuffUnB_yY?feature=shared

720p (mp4)

Details

This particular video is not getting downloaded. It is always getting failed status after reaching 0.9%.

Copied Error Message :-

System.Net.Http.HttpIOException: The response ended prematurely, with at least 221445971 additional bytes expected. (ResponseEnded) at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken) at YoutubeExplode.Videos.Streams.MediaStream.ReadSegmentAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) in /_/YoutubeExplode/Videos/Streams/MediaStream.cs:line 85 at YoutubeExplode.Videos.Streams.MediaStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) in /_/YoutubeExplode/Videos/Streams/MediaStream.cs:line 115 at YoutubeExplode.Utils.Extensions.StreamExtensions.CopyToAsync(Stream source, Stream destination, IProgress1 progress, CancellationToken cancellationToken) in //YoutubeExplode/Utils/Extensions/StreamExtensions.cs:line 23 at YoutubeExplode.Videos.Streams.StreamClient.CopyToAsync(IStreamInfo streamInfo, Stream destination, IProgress`1 progress, CancellationToken cancellationToken) in //YoutubeExplode/Videos/Streams/StreamClient.cs:line 317 at YoutubeExplode.Videos.Streams.StreamClient.DownloadAsync(IStreamInfo streamInfo, String filePath, IProgress1 progress, CancellationToken cancellationToken) in /_/YoutubeExplode/Videos/Streams/StreamClient.cs:line 331 at YoutubeExplode.Converter.Converter.PopulateStreamInputsAsync(String baseFilePath, IReadOnlyList1 streamInfos, ICollection1 streamInputs, IProgress1 progress, CancellationToken cancellationToken) in //YoutubeExplode.Converter/Converter.cs:line 194 at YoutubeExplode.Converter.Converter.ProcessAsync(String filePath, Container container, IReadOnlyList1 streamInfos, IReadOnlyList1 closedCaptionTrackInfos, IProgress`1 progress, CancellationToken cancellationToken) in //YoutubeExplode.Converter/Converter.cs:line 263 at YoutubeExplode.Converter.ConversionExtensions.DownloadAsync(VideoClient videoClient, IReadOnlyList1 streamInfos, IReadOnlyList1 closedCaptionTrackInfos, ConversionRequest request, IProgress1 progress, CancellationToken cancellationToken) in /_/YoutubeExplode.Converter/ConversionExtensions.cs:line 85 at YoutubeDownloader.Core.Downloading.VideoDownloader.DownloadVideoAsync(String filePath, IVideo video, VideoDownloadOption downloadOption, IProgress1 progress, CancellationToken cancellationToken) in D:\a\YoutubeDownloader\YoutubeDownloader\YoutubeDownloader.Core\Downloading\VideoDownloader.cs:line 63 at YoutubeDownloader.ViewModels.Components.DashboardViewModel.<>c__DisplayClass30_0.<b__0>d.MoveNext() in D:\a\YoutubeDownloader\YoutubeDownloader\YoutubeDownloader\ViewModels\Components\DashboardViewModel.cs:line 100

Checklist